import * as t from "io-ts"; import * as r from "italia-ts-commons/lib/requests"; import { NewMessage } from "./NewMessage"; import { ProblemJson } from "./ProblemJson"; import { MessageResponseWithContent } from "./MessageResponseWithContent"; import { GetLimitedProfileByPOSTPayload } from "./GetLimitedProfileByPOSTPayload"; import { LimitedProfile } from "./LimitedProfile"; import { SubscriptionsFeed } from "./SubscriptionsFeed"; import { ServicePayload } from "./ServicePayload"; import { ServiceWithSubscriptionKeys } from "./ServiceWithSubscriptionKeys"; import { ServiceIdCollection } from "./ServiceIdCollection"; import { Logo } from "./Logo"; import { SubscriptionKeyTypePayload } from "./SubscriptionKeyTypePayload"; import { SubscriptionKeys } from "./SubscriptionKeys"; /**************************************************************** * submitMessageforUserWithFiscalCodeInBody */ export declare type SubmitMessageforUserWithFiscalCodeInBodyT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly message?: NewMessage; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<201, undefined, "Location"> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const submitMessageforUserWithFiscalCodeInBodyDefaultResponses: { 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; 429: t.UndefinedC; 500: 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; }>]>>; }; export declare type SubmitMessageforUserWithFiscalCodeInBodyResponsesT = { 201: t.Type; 400: t.Type; 401: t.Type; 429: t.Type; 500: t.Type; }; export declare function submitMessageforUserWithFiscalCodeInBodyDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<429, A3, never> | r.IResponseType<500, A4, never>>; export declare const submitMessageforUserWithFiscalCodeInBodyDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<401, undefined, never> | 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<500, {} & { 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>>; /**************************************************************** * submitMessageforUser */ export declare type SubmitMessageforUserT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly message?: NewMessage; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<201, undefined, "Location"> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const submitMessageforUserDefaultResponses: { 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; 429: t.UndefinedC; 500: 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; }>]>>; }; export declare type SubmitMessageforUserResponsesT = { 201: t.Type; 400: t.Type; 401: t.Type; 429: t.Type; 500: t.Type; }; export declare function submitMessageforUserDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<429, A3, never> | r.IResponseType<500, A4, never>>; export declare const submitMessageforUserDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<401, undefined, never> | 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<500, {} & { 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>>; /**************************************************************** * getMessage */ export declare type GetMessageT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly id: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, MessageResponseWithContent, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getMessageDefaultResponses: { 200: t.ExactC, 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>; created_at: t.Type; content: t.ExactC; markdown: t.Type; }>, t.PartialC<{ payment_data: t.ExactC, number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<1, 9999999999>, unknown>, t.LiteralC<9999999999>]>; notice_number: t.Type; }>, t.PartialC<{ invalid_after_due_date: t.Type; }>]>>; prescription_data: t.ExactC; }>, t.PartialC<{ iup: t.Type; prescriber_fiscal_code: t.Type, 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>; }>]>>; due_date: t.Type; }>]>>; sender_service_id: t.StringC; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; }>]>>; }>, t.PartialC<{ notification: t.ExactC, t.PartialC<{ email: t.Type; webhook: t.Type; }>]>>; status: t.Type; }>]>>; 401: t.UndefinedC; 404: 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 GetMessageResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; }; export declare function getMessageDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never> | r.IResponseType<429, A3, never>>; export declare const getMessageDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<200, { message: { id: string; fiscal_code: 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]$">; created_at: Date; content: { subject: any; markdown: any; } & { payment_data?: ({ amount: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<1, 9999999999>); notice_number: any; } & { invalid_after_due_date?: boolean | undefined; }) | undefined; prescription_data?: ({ nre: any; } & { iup?: any; prescriber_fiscal_code?: (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]$">) | undefined; }) | undefined; due_date?: Date | undefined; }; sender_service_id: string; } & { time_to_live?: 604800 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; }; } & { notification?: ({} & { email?: import("./NotificationChannelStatusValue").NotificationChannelStatusValueEnum | undefined; webhook?: import("./NotificationChannelStatusValue").NotificationChannelStatusValueEnum | undefined; }) | undefined; status?: import("./MessageResponseWithContent").StatusEnum | undefined; }, never> | r.IResponseType<404, {} & { 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>>; /**************************************************************** * getProfileByPOST */ export declare type GetProfileByPOSTT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly payload?: GetLimitedProfileByPOSTPayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, LimitedProfile, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getProfileByPOSTDefaultResponses: { 200: t.ExactC, t.PartialC<{ preferred_languages: t.ReadonlyArrayC; }>]>>; 401: t.UndefinedC; 404: 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 GetProfileByPOSTResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; }; export declare function getProfileByPOSTDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never> | r.IResponseType<429, A3, never>>; export declare const getProfileByPOSTDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, {} & { 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, { sender_allowed: boolean; } & { preferred_languages?: readonly string[] | undefined; }, never>>; /**************************************************************** * getProfile */ export declare type GetProfileT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, LimitedProfile, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getProfileDefaultResponses: { 200: t.ExactC, t.PartialC<{ preferred_languages: t.ReadonlyArrayC; }>]>>; 401: t.UndefinedC; 404: 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 GetProfileResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; }; export declare function getProfileDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never> | r.IResponseType<429, A3, never>>; export declare const getProfileDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, {} & { 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, { sender_allowed: boolean; } & { preferred_languages?: readonly string[] | undefined; }, never>>; /**************************************************************** * getSubscriptionsFeedForDate */ export declare type GetSubscriptionsFeedForDateT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly date: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, SubscriptionsFeed, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getSubscriptionsFeedForDateDefaultResponses: { 200: t.ExactC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9]{4}-[0-9]{2}-[0-9]{2}">, unknown>; subscriptions: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9a-f]{64}">, unknown>>; unsubscriptions: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9a-f]{64}">, unknown>>; }>, t.PartialC<{}>]>>; 401: t.UndefinedC; 404: 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 GetSubscriptionsFeedForDateResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; }; export declare function getSubscriptionsFeedForDateDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never> | r.IResponseType<429, A3, never>>; export declare const getSubscriptionsFeedForDateDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, {} & { 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, { dateUTC: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9]{4}-[0-9]{2}-[0-9]{2}">; subscriptions: readonly (string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9a-f]{64}">)[]; unsubscriptions: readonly (string & import("italia-ts-commons/lib/strings").IPatternStringTag<"[0-9a-f]{64}">)[]; } & {}, never>>; /**************************************************************** * createService */ export declare type CreateServiceT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly body?: ServicePayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ServiceWithSubscriptionKeys, never> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const createServiceDefaultResponses: { 200: t.IntersectionC<[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>; }>]>>]>, t.ExactC, t.PartialC<{}>]>>]>; 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; 429: t.UndefinedC; 500: 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; }>]>>; }; export declare type CreateServiceResponsesT = { 200: t.Type; 400: t.Type; 401: t.Type; 429: t.Type; 500: t.Type; }; export declare function createServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<429, A3, never> | r.IResponseType<500, A4, never>>; export declare const createServiceDefaultDecoder: () => 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<500, {} & { 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, ({ 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; } & { primary_key: string; secondary_key: string; } & {}) | ({ 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; } & { primary_key: string; secondary_key: string; } & {}), never>>; /**************************************************************** * getUserServices */ export declare type GetUserServicesT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ServiceIdCollection, never> | r.IResponseType<401, undefined, never> | r.IResponseType<429, undefined, never>>; export declare const getUserServicesDefaultResponses: { 200: t.ExactC>; }>, t.PartialC<{}>]>>; 401: t.UndefinedC; 429: t.UndefinedC; }; export declare type GetUserServicesResponsesT = { 200: t.Type; 401: t.Type; 429: t.Type; }; export declare function getUserServicesDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<429, A2, never>>; export declare const getUserServicesDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<200, { items: readonly (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag)[]; } & {}, never>>; /**************************************************************** * getService */ export declare type GetServiceT = r.IGetApiRequestType<{ readonly service_id: string; readonly SubscriptionKey: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ServiceWithSubscriptionKeys, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<429, undefined, never>>; export declare const getServiceDefaultResponses: { 200: t.IntersectionC<[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>; }>]>>]>, t.ExactC, t.PartialC<{}>]>>]>; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 429: t.UndefinedC; }; export declare type GetServiceResponsesT = { 200: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 429: t.Type; }; export declare function getServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<404, A3, never> | r.IResponseType<429, A4, never>>; export declare const getServiceDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<403, 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; } & { primary_key: string; secondary_key: string; } & {}) | ({ 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; } & { primary_key: string; secondary_key: string; } & {}), never>>; /**************************************************************** * updateService */ export declare type UpdateServiceT = r.IPutApiRequestType<{ readonly service_id: string; readonly SubscriptionKey: string; readonly body?: ServicePayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ServiceWithSubscriptionKeys, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const updateServiceDefaultResponses: { 200: t.IntersectionC<[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>; }>]>>]>, t.ExactC, t.PartialC<{}>]>>]>; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 429: t.UndefinedC; 500: 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; }>]>>; }; export declare type UpdateServiceResponsesT = { 200: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 429: t.Type; 500: t.Type; }; export declare function updateServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<404, A3, never> | r.IResponseType<429, A4, never> | r.IResponseType<500, A5, never>>; export declare const updateServiceDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, {} & { 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, ({ 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; } & { primary_key: string; secondary_key: string; } & {}) | ({ 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; } & { primary_key: string; secondary_key: string; } & {}), 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<200, undefined, never> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const uploadServiceLogoDefaultResponses: { 200: 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.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; }>]>>; }; export declare type UploadServiceLogoResponsesT = { 200: 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<200, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<403, 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<500, {} & { 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>>; /**************************************************************** * regenerateServiceKey */ export declare type RegenerateServiceKeyT = 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, ProblemJson, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const regenerateServiceKeyDefaultResponses: { 200: t.ExactC, t.PartialC<{}>]>>; 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; }>]>>; 403: t.UndefinedC; 404: t.UndefinedC; 500: 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; }>]>>; }; export declare type RegenerateServiceKeyResponsesT = { 200: t.Type; 400: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function regenerateServiceKeyDecoder(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 regenerateServiceKeyDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<403, 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<500, {} & { 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, { primary_key: string; secondary_key: string; } & {}, never>>; /**************************************************************** * uploadOrganizationLogo */ export declare type UploadOrganizationLogoT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly body: Logo; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<202, undefined, never> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, ProblemJson, never>>; export declare const uploadOrganizationLogoDefaultResponses: { 202: 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; 429: t.UndefinedC; 500: 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; }>]>>; }; export declare type UploadOrganizationLogoResponsesT = { 202: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 429: 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<429, A4, never> | r.IResponseType<500, A5, never>>; export declare const uploadOrganizationLogoDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<202, 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<500, {} & { 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>>;