TypeScript module providing typed DocuSign envelope workflow API functions with input validation via zod.
// Source: https://github.com/corsairdev/corsair | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { z } from 'zod';
import { resolveClient } from './context';
import { lockHeaders } from './images';
import type { DocusignExecutionContext } from './types';
export const AddEmailOverridesToEnvelopeInputSchema = z.object({
envelopeId: z.string(),
body: z.record(z.string(), z.json()).optional(),
});
export const AddEmailOverridesToEnvelopeOutputSchema = z
.object({})
.passthrough();
export type AddEmailOverridesToEnvelopeParams = z.infer<
typeof AddEmailOverridesToEnvelopeInputSchema
>;
export const addEmailOverridesToEnvelope = async (
ctxOrClient: DocusignExecutionCon
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key