UNPKG

@docusign/iam-sdk

Version:

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

31 lines 1.56 kB
import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAgreementRequest = { accountId: string; agreementId: string; }; /** @internal */ export declare const GetAgreementRequest$inboundSchema: z.ZodType<GetAgreementRequest, z.ZodTypeDef, unknown>; /** @internal */ export type GetAgreementRequest$Outbound = { accountId: string; agreementId: string; }; /** @internal */ export declare const GetAgreementRequest$outboundSchema: z.ZodType<GetAgreementRequest$Outbound, z.ZodTypeDef, GetAgreementRequest>; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetAgreementRequest$ { /** @deprecated use `GetAgreementRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType<GetAgreementRequest, z.ZodTypeDef, unknown>; /** @deprecated use `GetAgreementRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType<GetAgreementRequest$Outbound, z.ZodTypeDef, GetAgreementRequest>; /** @deprecated use `GetAgreementRequest$Outbound` instead. */ type Outbound = GetAgreementRequest$Outbound; } export declare function getAgreementRequestToJSON(getAgreementRequest: GetAgreementRequest): string; export declare function getAgreementRequestFromJSON(jsonString: string): SafeParseResult<GetAgreementRequest, SDKValidationError>; //# sourceMappingURL=getagreement.d.ts.map