UNPKG

@docusign/iam-sdk

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.

24 lines 897 B
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * A single field-level or parameter-level validation error. */ export type ValidationError = { /** * A machine-readable error code identifying the specific validation failure. */ code: string; /** * A human-readable description of the validation error. */ message: string; /** * The name of the field, parameter, or path segment that caused the error. */ target?: string | undefined; }; /** @internal */ export declare const ValidationError$inboundSchema: z.ZodType<ValidationError, z.ZodTypeDef, unknown>; export declare function validationErrorFromJSON(jsonString: string): SafeParseResult<ValidationError, SDKValidationError>; //# sourceMappingURL=validationerror.d.ts.map