@docusign/iam-sdk
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@docusign/iam-sdk* API.
25 lines • 791 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
* A URL that references a specific resource.
*
* @remarks
*/
export type Link = {
/**
* The URL for the referenced page.
*/
href: string;
};
/** @internal */
export declare const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown>;
/** @internal */
export type Link$Outbound = {
href: string;
};
/** @internal */
export declare const Link$outboundSchema: z.ZodType<Link$Outbound, z.ZodTypeDef, Link>;
export declare function linkToJSON(link: Link): string;
export declare function linkFromJSON(jsonString: string): SafeParseResult<Link, SDKValidationError>;
//# sourceMappingURL=link.d.ts.map