import * as t from "io-ts"; import * as r from "@pagopa/ts-commons/lib/requests"; import { PaginatedPublicMessagesCollection } from "./PaginatedPublicMessagesCollection"; import { ProblemJson } from "./ProblemJson"; import { InternalMessageResponseWithContent } from "./InternalMessageResponseWithContent"; import { MessageStatusChange } from "./MessageStatusChange"; import { MessageStatusWithAttributes } from "./MessageStatusWithAttributes"; import { RCConfigurationPublic } from "./RCConfigurationPublic"; /**************************************************************** * getMessagesByUser */ export type GetMessagesByUserT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly page_size?: number; readonly maximum_id?: string; readonly minimum_id?: string; readonly enrich_result_data?: boolean; readonly archived?: boolean; }, "X-Functions-Key", never, r.IResponseType<200, PaginatedPublicMessagesCollection, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const getMessagesByUserDefaultResponses: { 200: t.IntersectionC<[t.ExactC, string, string, unknown>; created_at: t.UnionC<[t.Type, t.Type]>; sender_service_id: import("@pagopa/ts-commons/lib/types").Tagged; service_name: t.StringC; organization_name: t.StringC; organization_fiscal_code: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; message_title: t.StringC; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; category: t.UnionC<[t.ExactC; rptId: t.StringC; }>, t.PartialC<{}>]>>, t.ExactC; }>, t.PartialC<{}>]>>, t.IntersectionC<[t.ExactC; }>, t.PartialC<{ original_sender: import("@pagopa/ts-commons/lib/types").Tagged; original_receipt_date: t.UnionC<[t.Type, t.Type]>; has_attachments: t.Type; has_remote_content: t.Type; has_precondition: t.Type; summary: import("@pagopa/ts-commons/lib/types").Tagged; configuration_id: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>, t.ExactC; }>, t.PartialC<{}>]>>]>]>; has_attachments: t.Type; has_precondition: t.Type; }>]>>, t.ExactC; is_archived: t.Type; }>, t.PartialC<{}>]>>]>, t.ExactC, string, string, unknown>; created_at: t.UnionC<[t.Type, t.Type]>; sender_service_id: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; }>]>>]>>; }>, t.PartialC<{}>]>>, t.ExactC, t.PartialC<{ prev: t.StringC; next: t.StringC; }>]>>]>; 401: t.UndefinedC; 404: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[import("@pagopa/ts-commons/lib/types").Tagged, number, number, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 429: t.UndefinedC; 500: t.UndefinedC; }; export type GetMessagesByUserResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; 500: t.Type; }; export declare function getMessagesByUserDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never> | r.IResponseType<429, A3, never> | r.IResponseType<500, A4, never>>; export declare const getMessagesByUserDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<200, { items: readonly (({ id: string; fiscal_code: string & import("@pagopa/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; sender_service_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; service_name: string; organization_name: string; organization_fiscal_code: string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; message_title: string; } & { time_to_live?: 604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; category?: ({ tag: import("./MessageCategoryPayment").TagEnum; rptId: string; } & {}) | ({ tag: import("./MessageCategoryBase").TagEnum; } & {}) | ({ id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_sender?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; original_receipt_date?: Date | undefined; has_attachments?: boolean | undefined; has_remote_content?: boolean | undefined; has_precondition?: import("./HasPrecondition").HasPreconditionEnum | undefined; summary?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; configuration_id?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$">) | undefined; } & { tag: import("./MessageCategoryPN").TagEnum; } & {}) | undefined; has_attachments?: boolean | undefined; has_precondition?: boolean | undefined; } & { is_read: boolean; is_archived: boolean; } & {}) | ({ id: string; fiscal_code: string & import("@pagopa/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; sender_service_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { time_to_live?: 604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; }))[]; } & {} & {} & { prev?: string | undefined; next?: string | undefined; }, never> | r.IResponseType<404, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never>>; /**************************************************************** * getMessage */ export type GetMessageT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly id: string; readonly public_message?: boolean; }, "X-Functions-Key", never, r.IResponseType<200, InternalMessageResponseWithContent, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getMessageDefaultResponses: { 200: t.ExactC, string, string, unknown>; created_at: t.UnionC<[t.Type, t.Type]>; content: t.IntersectionC<[t.ExactC, string, string, unknown>; markdown: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>, t.PartialC<{ require_secure_channels: t.BooleanC; }>]>>, t.ExactC, t.PartialC<{ /**************************************************************** * getMessagesByUser */ payment_data: t.IntersectionC<[t.ExactC, number, number, unknown>, t.LiteralC<9999999999>]>; notice_number: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ invalid_after_due_date: t.Type; }>]>>, t.ExactC, string, string, unknown>; }>, t.PartialC<{}>]>>; }>, t.PartialC<{}>]>>]>; due_date: t.UnionC<[t.Type, t.Type]>; prescription_data: t.ExactC, string, string, unknown>; }>, t.PartialC<{ iup: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; prescriber_fiscal_code: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>; eu_covid_cert: t.ExactC, t.PartialC<{}>]>>; third_party_data: t.ExactC; }>, t.PartialC<{ original_sender: import("@pagopa/ts-commons/lib/types").Tagged; original_receipt_date: t.UnionC<[t.Type, t.Type]>; has_attachments: t.Type; has_remote_content: t.Type; has_precondition: t.Type; summary: import("@pagopa/ts-commons/lib/types").Tagged; configuration_id: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>; legal_data: t.ExactC; has_attachment: t.Type; message_unique_id: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ original_message_url: import("@pagopa/ts-commons/lib/types").Tagged; pec_server_service_id: import("@pagopa/ts-commons/lib/types").Tagged; }>]>>; }>]>>]>; sender_service_id: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; }>]>>, t.IntersectionC<[t.ExactC, string, string, unknown>; created_at: t.UnionC<[t.Type, t.Type]>; content: t.IntersectionC<[t.ExactC, string, string, unknown>; markdown: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>, t.PartialC<{ require_secure_channels: t.BooleanC; }>]>>, t.ExactC, t.PartialC<{ /**************************************************************** * getMessagesByUser */ payment_data: t.IntersectionC<[t.ExactC, number, number, unknown>, t.LiteralC<9999999999>]>; notice_number: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ invalid_after_due_date: t.Type; }>]>>, t.ExactC, string, string, unknown>; }>, t.PartialC<{}>]>>; }>, t.PartialC<{}>]>>]>; due_date: t.UnionC<[t.Type, t.Type]>; prescription_data: t.ExactC, string, string, unknown>; }>, t.PartialC<{ iup: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; prescriber_fiscal_code: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>; eu_covid_cert: t.ExactC, t.PartialC<{}>]>>; third_party_data: t.ExactC; }>, t.PartialC<{ original_sender: import("@pagopa/ts-commons/lib/types").Tagged; original_receipt_date: t.UnionC<[t.Type, t.Type]>; has_attachments: t.Type; has_remote_content: t.Type; has_precondition: t.Type; summary: import("@pagopa/ts-commons/lib/types").Tagged; configuration_id: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>; legal_data: t.ExactC; has_attachment: t.Type; message_unique_id: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ original_message_url: import("@pagopa/ts-commons/lib/types").Tagged; pec_server_service_id: import("@pagopa/ts-commons/lib/types").Tagged; }>]>>; }>]>>]>; sender_service_id: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; }>]>>, t.IntersectionC<[t.ExactC, string, string, unknown>; created_at: t.UnionC<[t.Type, t.Type]>; sender_service_id: import("@pagopa/ts-commons/lib/types").Tagged; service_name: t.StringC; organization_name: t.StringC; organization_fiscal_code: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; message_title: t.StringC; }>, t.PartialC<{ time_to_live: t.Type<604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>), any, unknown>; category: t.UnionC<[t.ExactC; rptId: t.StringC; }>, t.PartialC<{}>]>>, t.ExactC; }>, t.PartialC<{}>]>>, t.IntersectionC<[t.ExactC; }>, t.PartialC<{ original_sender: import("@pagopa/ts-commons/lib/types").Tagged; original_receipt_date: t.UnionC<[t.Type, t.Type]>; has_attachments: t.Type; has_remote_content: t.Type; has_precondition: t.Type; summary: import("@pagopa/ts-commons/lib/types").Tagged; configuration_id: import("@pagopa/ts-commons/lib/types").Tagged, string, string, unknown>; }>]>>, t.ExactC; }>, t.PartialC<{}>]>>]>]>; has_attachments: t.Type; has_precondition: t.Type; }>]>>, t.ExactC; is_archived: t.Type; }>, t.PartialC<{}>]>>]>]>]>; }>, t.PartialC<{ status: t.UnionC<[t.Type, t.Type]>; }>]>>; 401: t.UndefinedC; 404: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[import("@pagopa/ts-commons/lib/types").Tagged, number, number, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 429: t.UndefinedC; }; export 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<404, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never> | r.IResponseType<200, { message: ({ id: string; fiscal_code: string & import("@pagopa/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: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<10, 121>; markdown: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<80, 10001>; } & { require_secure_channels?: boolean | undefined; } & {} & { payment_data?: ({ amount: 9999999999 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<1, 9999999999>); notice_number: any; } & { invalid_after_due_date?: boolean | undefined; } & { payee: { fiscal_code: string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; } & {}; } & {}) | undefined; due_date?: Date | undefined; prescription_data?: ({ nre: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<15, 16>; } & { iup?: (string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<1, 17>) | undefined; prescriber_fiscal_code?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">) | undefined; }) | undefined; eu_covid_cert?: ({ auth_code: string; } & {}) | undefined; third_party_data?: ({ id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_sender?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; original_receipt_date?: Date | undefined; has_attachments?: boolean | undefined; has_remote_content?: boolean | undefined; has_precondition?: import("./HasPrecondition").HasPreconditionEnum | undefined; summary?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; configuration_id?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$">) | undefined; }) | undefined; legal_data?: ({ sender_mail_from: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; has_attachment: boolean; message_unique_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_message_url?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec_server_service_id?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; }) | undefined; }; sender_service_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { time_to_live?: 604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; }) | ({ id: string; fiscal_code: string & import("@pagopa/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: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<10, 121>; markdown: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<80, 10001>; } & { require_secure_channels?: boolean | undefined; } & {} & { payment_data?: ({ amount: 9999999999 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<1, 9999999999>); notice_number: any; } & { invalid_after_due_date?: boolean | undefined; } & { payee: { fiscal_code: string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; } & {}; } & {}) | undefined; due_date?: Date | undefined; prescription_data?: ({ nre: string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<15, 16>; } & { iup?: (string & import("@pagopa/ts-commons/lib/strings").IWithinRangeStringTag<1, 17>) | undefined; prescriber_fiscal_code?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">) | undefined; }) | undefined; eu_covid_cert?: ({ auth_code: string; } & {}) | undefined; third_party_data?: ({ id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_sender?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; original_receipt_date?: Date | undefined; has_attachments?: boolean | undefined; has_remote_content?: boolean | undefined; has_precondition?: import("./HasPrecondition").HasPreconditionEnum | undefined; summary?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; configuration_id?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$">) | undefined; }) | undefined; legal_data?: ({ sender_mail_from: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; has_attachment: boolean; message_unique_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_message_url?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec_server_service_id?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; }) | undefined; }; sender_service_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { time_to_live?: 604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; } & { id: string; fiscal_code: string & import("@pagopa/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; sender_service_id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; service_name: string; organization_name: string; organization_fiscal_code: string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; message_title: string; } & { time_to_live?: 604800 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<3600, 604800>) | undefined; category?: ({ tag: import("./MessageCategoryPayment").TagEnum; rptId: string; } & {}) | ({ tag: import("./MessageCategoryBase").TagEnum; } & {}) | ({ id: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { original_sender?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; original_receipt_date?: Date | undefined; has_attachments?: boolean | undefined; has_remote_content?: boolean | undefined; has_precondition?: import("./HasPrecondition").HasPreconditionEnum | undefined; summary?: (string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag) | undefined; configuration_id?: (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$">) | undefined; } & { tag: import("./MessageCategoryPN").TagEnum; } & {}) | undefined; has_attachments?: boolean | undefined; has_precondition?: boolean | undefined; } & { is_read: boolean; is_archived: boolean; } & {}); } & { status?: import("./RejectedMessageStatusValue").RejectedMessageStatusValueEnum | import("./NotRejectedMessageStatusValue").NotRejectedMessageStatusValueEnum | undefined; }, never>>; /**************************************************************** * upsertMessageStatusAttributes */ export type UpsertMessageStatusAttributesT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly id: string; readonly body: MessageStatusChange; }, "Content-Type" | "X-Functions-Key", never, r.IResponseType<200, MessageStatusWithAttributes, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const upsertMessageStatusAttributesDefaultResponses: { 200: t.IntersectionC<[t.ExactC, t.Type]>; updated_at: t.UnionC<[t.Type, t.Type]>; }>, t.PartialC<{ version: t.RefinementC; }>]>>, t.ExactC; is_archived: t.Type; }>, t.PartialC<{}>]>>]>; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[import("@pagopa/ts-commons/lib/types").Tagged, number, number, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 429: t.UndefinedC; }; export type UpsertMessageStatusAttributesResponsesT = { 200: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 429: t.Type; }; export declare function upsertMessageStatusAttributesDecoder(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 upsertMessageStatusAttributesDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never> | r.IResponseType<200, { status: import("./RejectedMessageStatusValue").RejectedMessageStatusValueEnum | import("./NotRejectedMessageStatusValue").NotRejectedMessageStatusValueEnum; updated_at: Date; } & { version?: number | undefined; } & { is_read: boolean; is_archived: boolean; } & {}, never>>; /**************************************************************** * getRCConfiguration */ export type GetRCConfigurationT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly id: string; }, "X-Functions-Key", never, r.IResponseType<200, RCConfigurationPublic, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const getRCConfigurationDefaultResponses: { 200: t.IntersectionC<[t.IntersectionC<[t.ExactC; description: import("@pagopa/ts-commons/lib/types").Tagged; has_precondition: t.Type; disable_lollipop_for: t.ReadonlyArrayC, string, string, unknown>>; is_lollipop_enabled: t.BooleanC; }>, t.PartialC<{}>]>>, t.ExactC, string, string, unknown>; }>, t.PartialC<{}>]>>]>, t.ExactC, t.PartialC<{ test_environment: t.IntersectionC<[t.ExactC; details_authentication: t.ExactC; key: import("@pagopa/ts-commons/lib/types").Tagged; type: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ cert: t.ExactC; client_key: import("@pagopa/ts-commons/lib/types").Tagged; server_ca: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{}>]>>; }>]>>; }>, t.PartialC<{}>]>>, t.ExactC, string, string, unknown>>; }>, t.PartialC<{}>]>>]>; prod_environment: t.ExactC; details_authentication: t.ExactC; key: import("@pagopa/ts-commons/lib/types").Tagged; type: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{ cert: t.ExactC; client_key: import("@pagopa/ts-commons/lib/types").Tagged; server_ca: import("@pagopa/ts-commons/lib/types").Tagged; }>, t.PartialC<{}>]>>; }>]>>; }>, t.PartialC<{}>]>>; }>]>>]>; 401: t.UndefinedC; 404: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[import("@pagopa/ts-commons/lib/types").Tagged, number, number, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 429: t.UndefinedC; }; export type GetRCConfigurationResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; 429: t.Type; }; export declare function getRCConfigurationDecoder(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 getRCConfigurationDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<404, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("@pagopa/ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never> | r.IResponseType<200, { name: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; description: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; has_precondition: import("./HasPrecondition").HasPreconditionEnum; disable_lollipop_for: readonly (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">)[]; is_lollipop_enabled: boolean; } & {} & { configuration_id: string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[0-9a-hjkmnp-tv-zA-HJKMNP-TV-Z]{26}$">; } & {} & {} & { test_environment?: ({ base_url: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; details_authentication: { header_key_name: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; key: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; type: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { cert?: ({ client_cert: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; client_key: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; server_ca: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & {}) | undefined; }; } & {} & { test_users: readonly (string & import("@pagopa/ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">)[]; } & {}) | undefined; prod_environment?: ({ base_url: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; details_authentication: { header_key_name: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; key: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; type: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & { cert?: ({ client_cert: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; client_key: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; server_ca: string & import("@pagopa/ts-commons/lib/strings").INonEmptyStringTag; } & {}) | undefined; }; } & {}) | undefined; }, never>>;