import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type UnauthorizedRequestResponseImsxCodeMinorField1 = {
    imsxCodeMinorFieldName?: "TargetEndSystem" | undefined;
    imsxCodeMinorFieldValue?: "unauthorisedrequest" | undefined;
};
export type UnauthorizedRequestResponseImsxCodeMinor = {
    imsxCodeMinorField: Array<UnauthorizedRequestResponseImsxCodeMinorField1>;
};
export type UnauthorizedRequestResponseError1Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnauthorizedRequestResponseImsxCodeMinor;
};
export declare class UnauthorizedRequestResponseError1 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnauthorizedRequestResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: UnauthorizedRequestResponseError1Data;
    constructor(err: UnauthorizedRequestResponseError1Data);
}
export type UnauthorizedRequestResponseError2Data = {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnauthorizedRequestResponseImsxCodeMinor;
};
export declare class UnauthorizedRequestResponseError2 extends Error {
    imsxCodeMajor: "failure";
    imsxSeverity: "error";
    imsxDescription: string;
    imsxCodeMinor: UnauthorizedRequestResponseImsxCodeMinor;
    /** The original data that was passed to this error instance. */
    data$: UnauthorizedRequestResponseError2Data;
    constructor(err: UnauthorizedRequestResponseError2Data);
}
/** @internal */
export declare const UnauthorizedRequestResponseImsxCodeMinorField1$inboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
/** @internal */
export type UnauthorizedRequestResponseImsxCodeMinorField1$Outbound = {
    imsx_codeMinorFieldName: "TargetEndSystem";
    imsx_codeMinorFieldValue: "unauthorisedrequest";
};
/** @internal */
export declare const UnauthorizedRequestResponseImsxCodeMinorField1$outboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseImsxCodeMinorField1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnauthorizedRequestResponseImsxCodeMinorField1$ {
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinorField1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinorField1, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinorField1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinorField1$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseImsxCodeMinorField1>;
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinorField1$Outbound` instead. */
    type Outbound = UnauthorizedRequestResponseImsxCodeMinorField1$Outbound;
}
export declare function unauthorizedRequestResponseImsxCodeMinorField1ToJSON(unauthorizedRequestResponseImsxCodeMinorField1: UnauthorizedRequestResponseImsxCodeMinorField1): string;
export declare function unauthorizedRequestResponseImsxCodeMinorField1FromJSON(jsonString: string): SafeParseResult<UnauthorizedRequestResponseImsxCodeMinorField1, SDKValidationError>;
/** @internal */
export declare const UnauthorizedRequestResponseImsxCodeMinor$inboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
/** @internal */
export type UnauthorizedRequestResponseImsxCodeMinor$Outbound = {
    imsx_codeMinorField: Array<UnauthorizedRequestResponseImsxCodeMinorField1$Outbound>;
};
/** @internal */
export declare const UnauthorizedRequestResponseImsxCodeMinor$outboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinor$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseImsxCodeMinor>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnauthorizedRequestResponseImsxCodeMinor$ {
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinor$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinor, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinor$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnauthorizedRequestResponseImsxCodeMinor$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseImsxCodeMinor>;
    /** @deprecated use `UnauthorizedRequestResponseImsxCodeMinor$Outbound` instead. */
    type Outbound = UnauthorizedRequestResponseImsxCodeMinor$Outbound;
}
export declare function unauthorizedRequestResponseImsxCodeMinorToJSON(unauthorizedRequestResponseImsxCodeMinor: UnauthorizedRequestResponseImsxCodeMinor): string;
export declare function unauthorizedRequestResponseImsxCodeMinorFromJSON(jsonString: string): SafeParseResult<UnauthorizedRequestResponseImsxCodeMinor, SDKValidationError>;
/** @internal */
export declare const UnauthorizedRequestResponseError1$inboundSchema: z.ZodType<UnauthorizedRequestResponseError1, z.ZodTypeDef, unknown>;
/** @internal */
export type UnauthorizedRequestResponseError1$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: UnauthorizedRequestResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const UnauthorizedRequestResponseError1$outboundSchema: z.ZodType<UnauthorizedRequestResponseError1$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseError1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnauthorizedRequestResponseError1$ {
    /** @deprecated use `UnauthorizedRequestResponseError1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnauthorizedRequestResponseError1, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnauthorizedRequestResponseError1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnauthorizedRequestResponseError1$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseError1>;
    /** @deprecated use `UnauthorizedRequestResponseError1$Outbound` instead. */
    type Outbound = UnauthorizedRequestResponseError1$Outbound;
}
/** @internal */
export declare const UnauthorizedRequestResponseError2$inboundSchema: z.ZodType<UnauthorizedRequestResponseError2, z.ZodTypeDef, unknown>;
/** @internal */
export type UnauthorizedRequestResponseError2$Outbound = {
    imsx_codeMajor: "failure";
    imsx_severity: "error";
    imsx_description: string;
    imsx_CodeMinor: UnauthorizedRequestResponseImsxCodeMinor$Outbound;
};
/** @internal */
export declare const UnauthorizedRequestResponseError2$outboundSchema: z.ZodType<UnauthorizedRequestResponseError2$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseError2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UnauthorizedRequestResponseError2$ {
    /** @deprecated use `UnauthorizedRequestResponseError2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UnauthorizedRequestResponseError2, z.ZodTypeDef, unknown>;
    /** @deprecated use `UnauthorizedRequestResponseError2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UnauthorizedRequestResponseError2$Outbound, z.ZodTypeDef, UnauthorizedRequestResponseError2>;
    /** @deprecated use `UnauthorizedRequestResponseError2$Outbound` instead. */
    type Outbound = UnauthorizedRequestResponseError2$Outbound;
}
//# sourceMappingURL=unauthorizedrequestresponseerror1.d.ts.map