import * as z from "zod/v3";
import { RFCDate } from "../../types/rfcdate.js";
import { Currency } from "./currency.js";
import { CustomField, CustomField$Outbound } from "./customfield.js";
import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js";
export type OpportunityInput = {
    /**
     * The title or name of the opportunity.
     */
    title: string;
    /**
     * The unique identifier of the primary contact associated with the opportunity.
     */
    primaryContactId?: string | null | undefined;
    /**
     * A description of the opportunity.
     */
    description?: string | null | undefined;
    /**
     * The type of the opportunity
     */
    type?: string | null | undefined;
    /**
     * The monetary value associated with the opportunity
     */
    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 probability of winning the opportunity, expressed as a percentage.
     */
    winProbability?: number | null | undefined;
    /**
     * The actual closing date for the opportunity. If close_date is null, the opportunity is not closed yet.
     */
    closeDate?: RFCDate | null | undefined;
    /**
     * The unique identifier of the reason why the opportunity was lost.
     */
    lossReasonId?: string | null | undefined;
    /**
     * The reason why the opportunity was lost.
     */
    lossReason?: string | null | undefined;
    /**
     * The unique identifier of the reason why the opportunity was won.
     */
    wonReasonId?: string | null | undefined;
    /**
     * The reason why the opportunity was won.
     */
    wonReason?: string | null | undefined;
    /**
     * The unique identifier of the pipeline associated with the opportunity
     */
    pipelineId?: string | null | undefined;
    /**
     * The unique identifier of the stage in the pipeline associated with the opportunity.
     */
    pipelineStageId?: string | null | undefined;
    /**
     * The unique identifier of the source of the opportunity.
     */
    sourceId?: string | null | undefined;
    /**
     * The unique identifier of the lead associated with the opportunity.
     */
    leadId?: string | null | undefined;
    /**
     * The source of the lead associated with the opportunity.
     */
    leadSource?: string | null | undefined;
    /**
     * The unique identifier of the contact associated with the opportunity.
     */
    contactId?: string | null | undefined;
    /**
     * An array of unique identifiers of all contacts associated with the opportunity.
     */
    contactIds?: Array<string> | undefined;
    /**
     * The unique identifier of the company associated with the opportunity.
     */
    companyId?: string | null | undefined;
    /**
     * The name of the company associated with the opportunity.
     */
    companyName?: string | null | undefined;
    /**
     * The unique identifier of the user who owns the opportunity.
     */
    ownerId?: string | null | undefined;
    /**
     * The priority level of the opportunity.
     */
    priority?: string | null | undefined;
    /**
     * The current status of the opportunity.
     */
    status?: string | null | undefined;
    /**
     * The unique identifier of the current status of the opportunity.
     */
    statusId?: string | null | undefined;
    tags?: Array<string> | null | undefined;
    customFields?: Array<CustomField> | undefined;
    /**
     * The date and time when the stage of the opportunity was last changed.
     */
    stageLastChangedAt?: Date | 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<PassThroughBody> | undefined;
};
/** @internal */
export type OpportunityInput$Outbound = {
    title: string;
    primary_contact_id?: string | null | undefined;
    description?: string | null | undefined;
    type?: string | null | undefined;
    monetary_amount?: number | null | undefined;
    currency?: string | null | undefined;
    win_probability?: number | null | undefined;
    close_date?: string | null | undefined;
    loss_reason_id?: string | null | undefined;
    loss_reason?: string | null | undefined;
    won_reason_id?: string | null | undefined;
    won_reason?: string | null | undefined;
    pipeline_id?: string | null | undefined;
    pipeline_stage_id?: string | null | undefined;
    source_id?: string | null | undefined;
    lead_id?: string | null | undefined;
    lead_source?: string | null | undefined;
    contact_id?: string | null | undefined;
    contact_ids?: Array<string> | undefined;
    company_id?: string | null | undefined;
    company_name?: string | null | undefined;
    owner_id?: string | null | undefined;
    priority?: string | null | undefined;
    status?: string | null | undefined;
    status_id?: string | null | undefined;
    tags?: Array<string> | null | undefined;
    custom_fields?: Array<CustomField$Outbound> | undefined;
    stage_last_changed_at?: string | null | undefined;
    pass_through?: Array<PassThroughBody$Outbound> | undefined;
};
/** @internal */
export declare const OpportunityInput$outboundSchema: z.ZodType<OpportunityInput$Outbound, z.ZodTypeDef, OpportunityInput>;
export declare function opportunityInputToJSON(opportunityInput: OpportunityInput): string;
//# sourceMappingURL=opportunityinput.d.ts.map