UNPKG

@docusign/iam-sdk

Version:

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

21 lines 814 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import * as types from "../../types/primitives.js"; import { TabExtensionData$inboundSchema, } from "./tabextensiondata.js"; /** @internal */ export const Tab$inboundSchema = z .object({ extensionData: TabExtensionData$inboundSchema, tabType: types.string(), validationPattern: types.optional(types.string()), validationMessage: types.optional(types.string()), tabLabel: types.string(), radios: types.optional(z.array(types.string())), }); export function tabFromJSON(jsonString) { return safeParse(jsonString, (x) => Tab$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Tab' from JSON`); } //# sourceMappingURL=tab.js.map