UNPKG

@docusign/iam-sdk

Version:

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

31 lines 1.66 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 ResumeNewWorkflowInstancesSuccess$inboundSchema = z.object({ status: z.string().optional(), }); /** @internal */ export const ResumeNewWorkflowInstancesSuccess$outboundSchema = z.object({ status: z.string().optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export var ResumeNewWorkflowInstancesSuccess$; (function (ResumeNewWorkflowInstancesSuccess$) { /** @deprecated use `ResumeNewWorkflowInstancesSuccess$inboundSchema` instead. */ ResumeNewWorkflowInstancesSuccess$.inboundSchema = ResumeNewWorkflowInstancesSuccess$inboundSchema; /** @deprecated use `ResumeNewWorkflowInstancesSuccess$outboundSchema` instead. */ ResumeNewWorkflowInstancesSuccess$.outboundSchema = ResumeNewWorkflowInstancesSuccess$outboundSchema; })(ResumeNewWorkflowInstancesSuccess$ || (ResumeNewWorkflowInstancesSuccess$ = {})); export function resumeNewWorkflowInstancesSuccessToJSON(resumeNewWorkflowInstancesSuccess) { return JSON.stringify(ResumeNewWorkflowInstancesSuccess$outboundSchema.parse(resumeNewWorkflowInstancesSuccess)); } export function resumeNewWorkflowInstancesSuccessFromJSON(jsonString) { return safeParse(jsonString, (x) => ResumeNewWorkflowInstancesSuccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResumeNewWorkflowInstancesSuccess' from JSON`); } //# sourceMappingURL=resumenewworkflowinstancessuccess.js.map