UNPKG

fathom-typescript

Version:

Fathom's official TypeScript SDK.

20 lines 683 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../../lib/primitives.js"; import { safeParse } from "../../../lib/schemas.js"; /** @internal */ export const CRMDealMatch$inboundSchema = z.object({ name: z.string(), amount: z.number(), record_url: z.string(), }).transform((v) => { return remap$(v, { "record_url": "recordUrl", }); }); export function crmDealMatchFromJSON(jsonString) { return safeParse(jsonString, (x) => CRMDealMatch$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CRMDealMatch' from JSON`); } //# sourceMappingURL=crmdealmatch.js.map