UNPKG

@docusign/iam-sdk

Version:

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

33 lines 1.61 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { safeParse } from "../../lib/schemas.js"; /** @internal */ export const CreateAgreementSummaryRequest$inboundSchema = z.object({ accountId: z.string(), agreementId: z.string(), }); /** @internal */ export const CreateAgreementSummaryRequest$outboundSchema = z.object({ accountId: z.string(), agreementId: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export var CreateAgreementSummaryRequest$; (function (CreateAgreementSummaryRequest$) { /** @deprecated use `CreateAgreementSummaryRequest$inboundSchema` instead. */ CreateAgreementSummaryRequest$.inboundSchema = CreateAgreementSummaryRequest$inboundSchema; /** @deprecated use `CreateAgreementSummaryRequest$outboundSchema` instead. */ CreateAgreementSummaryRequest$.outboundSchema = CreateAgreementSummaryRequest$outboundSchema; })(CreateAgreementSummaryRequest$ || (CreateAgreementSummaryRequest$ = {})); export function createAgreementSummaryRequestToJSON(createAgreementSummaryRequest) { return JSON.stringify(CreateAgreementSummaryRequest$outboundSchema.parse(createAgreementSummaryRequest)); } export function createAgreementSummaryRequestFromJSON(jsonString) { return safeParse(jsonString, (x) => CreateAgreementSummaryRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAgreementSummaryRequest' from JSON`); } //# sourceMappingURL=createagreementsummary.js.map