fathom-typescript
Version:
Fathom's official TypeScript SDK.
22 lines • 999 B
TypeScript
import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { CRMCompanyMatch } from "./crmcompanymatch.js";
import { CRMContactMatch } from "./crmcontactmatch.js";
import { CRMDealMatch } from "./crmdealmatch.js";
/**
* CRM data linked to the meeting. Only returns data from your or your team's linked CRM.
*
* @remarks
* If no CRM is connected for the workspace, the `error` field will be populated.
*/
export type CRMMatches = {
contacts?: Array<CRMContactMatch> | undefined;
companies?: Array<CRMCompanyMatch> | undefined;
deals?: Array<CRMDealMatch> | undefined;
error?: string | null | undefined;
};
/** @internal */
export declare const CRMMatches$inboundSchema: z.ZodType<CRMMatches, z.ZodTypeDef, unknown>;
export declare function crmMatchesFromJSON(jsonString: string): SafeParseResult<CRMMatches, SDKValidationError>;
//# sourceMappingURL=crmmatches.d.ts.map