UNPKG

fathom-typescript

Version:

Fathom's official TypeScript SDK.

53 lines 2.1 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ActionItem } from "./actionitem.js"; import { CRMMatches } from "./crmmatches.js"; import { FathomUser } from "./fathomuser.js"; import { Invitee } from "./invitee.js"; import { MeetingSummary } from "./meetingsummary.js"; import { TranscriptItem } from "./transcriptitem.js"; export declare const CalendarInviteesDomainsType: { readonly OnlyInternal: "only_internal"; readonly OneOrMoreExternal: "one_or_more_external"; }; export type CalendarInviteesDomainsType = ClosedEnum<typeof CalendarInviteesDomainsType>; export type Meeting = { title: string; /** * Calendar event title. */ meetingTitle: string | null; /** * The ID of the meeting recording. */ recordingId: number; url: string; shareUrl: string; createdAt: Date; scheduledStartTime: Date; scheduledEndTime: Date; recordingStartTime: Date; recordingEndTime: Date; calendarInviteesDomainsType: CalendarInviteesDomainsType; transcriptLanguage: string; transcript?: Array<TranscriptItem> | null | undefined; defaultSummary?: MeetingSummary | null | undefined; actionItems?: Array<ActionItem> | null | undefined; calendarInvitees: Array<Invitee>; recordedBy: FathomUser; /** * 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. */ crmMatches?: CRMMatches | null | undefined; }; /** @internal */ export declare const CalendarInviteesDomainsType$inboundSchema: z.ZodNativeEnum<typeof CalendarInviteesDomainsType>; /** @internal */ export declare const Meeting$inboundSchema: z.ZodType<Meeting, z.ZodTypeDef, unknown>; export declare function meetingFromJSON(jsonString: string): SafeParseResult<Meeting, SDKValidationError>; //# sourceMappingURL=meeting.d.ts.map