UNPKG

@docusign/iam-sdk

Version:

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

35 lines (29 loc) 707 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type UpdateWorkspaceBody = { /** * The updated name of the workspace */ name: string | null; }; /** @internal */ export type UpdateWorkspaceBody$Outbound = { name: string | null; }; /** @internal */ export const UpdateWorkspaceBody$outboundSchema: z.ZodType< UpdateWorkspaceBody$Outbound, z.ZodTypeDef, UpdateWorkspaceBody > = z.object({ name: z.nullable(z.string()), }); export function updateWorkspaceBodyToJSON( updateWorkspaceBody: UpdateWorkspaceBody, ): string { return JSON.stringify( UpdateWorkspaceBody$outboundSchema.parse(updateWorkspaceBody), ); }