import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; import { Currency } from "./currency.js"; import { CustomField, CustomField$Outbound } from "./customfield.js"; import { Email, Email$Outbound } from "./email.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; import { SocialLink, SocialLink$Outbound } from "./sociallink.js"; import { Website, Website$Outbound } from "./website.js"; export type LeadInput = { /** * Full name of the lead. */ name: string; /** * The name of the company the lead is associated with. */ companyName: string | null; /** * The owner of the lead. */ ownerId?: string | null | undefined; /** * The name of the owner of the lead. */ ownerName?: string | null | undefined; /** * The company the lead is associated with. */ companyId?: string | null | undefined; /** * The identifier of the lead. */ leadId?: string | null | undefined; /** * The source of the lead. */ leadSource?: string | null | undefined; /** * The first name of the lead. */ firstName?: string | null | undefined; /** * The last name of the lead. */ lastName?: string | null | undefined; /** * The description of the lead. */ description?: string | null | undefined; /** * The prefix of the lead. */ prefix?: string | null | undefined; /** * The job title of the lead. */ title?: string | null | undefined; /** * language code according to ISO 639-1. For the United States - EN */ language?: string | null | undefined; status?: string | null | undefined; /** * The monetary amount of the lead. */ monetaryAmount?: number | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * The fax number of the lead. */ fax?: string | null | undefined; websites?: Array | undefined; addresses?: Array
| undefined; socialLinks?: Array | undefined; phoneNumbers?: Array | undefined; emails?: Array | undefined; customFields?: Array | undefined; tags?: Array | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const LeadInput$inboundSchema: z.ZodType; /** @internal */ export type LeadInput$Outbound = { name: string; company_name: string | null; owner_id?: string | null | undefined; owner_name?: string | null | undefined; company_id?: string | null | undefined; lead_id?: string | null | undefined; lead_source?: string | null | undefined; first_name?: string | null | undefined; last_name?: string | null | undefined; description?: string | null | undefined; prefix?: string | null | undefined; title?: string | null | undefined; language?: string | null | undefined; status?: string | null | undefined; monetary_amount?: number | null | undefined; currency?: string | null | undefined; fax?: string | null | undefined; websites?: Array | undefined; addresses?: Array | undefined; social_links?: Array | undefined; phone_numbers?: Array | undefined; emails?: Array | undefined; custom_fields?: Array | undefined; tags?: Array | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const LeadInput$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace LeadInput$ { /** @deprecated use `LeadInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `LeadInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `LeadInput$Outbound` instead. */ type Outbound = LeadInput$Outbound; } export declare function leadInputToJSON(leadInput: LeadInput): string; export declare function leadInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=leadinput.d.ts.map