import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Currency } from "./currency.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; export type PipelineStages = { /** * The name of the Pipeline Stage. */ name?: string | null | undefined; /** * The value of the Pipeline Stage. */ value?: string | null | undefined; /** * The expected probability of winning an Opportunity in this Pipeline Stage. Valid values are [0-100]. */ winProbability?: number | null | undefined; /** * The order in which the Pipeline Stage is displayed in the UI. */ displayOrder?: number | null | undefined; }; export type PipelineInput = { /** * The unique identifier of the Pipeline. */ id?: string | undefined; /** * The name of the Pipeline. */ name: string; /** * 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; /** * Whether the Pipeline is archived or not. */ archived?: boolean | undefined; /** * Whether the Pipeline is active or not. */ active?: boolean | undefined; /** * The order in which the Pipeline is displayed in the UI. */ displayOrder?: number | null | undefined; /** * Whether the Pipeline has win probability enabled or not. */ winProbabilityEnabled?: boolean | undefined; /** * The Pipeline Stages. */ stages?: Array | 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 PipelineStages$inboundSchema: z.ZodType; /** @internal */ export type PipelineStages$Outbound = { name?: string | null | undefined; value?: string | null | undefined; win_probability?: number | null | undefined; display_order?: number | null | undefined; }; /** @internal */ export declare const PipelineStages$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 PipelineStages$ { /** @deprecated use `PipelineStages$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PipelineStages$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PipelineStages$Outbound` instead. */ type Outbound = PipelineStages$Outbound; } export declare function pipelineStagesToJSON(pipelineStages: PipelineStages): string; export declare function pipelineStagesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PipelineInput$inboundSchema: z.ZodType; /** @internal */ export type PipelineInput$Outbound = { id?: string | undefined; name: string; currency?: string | null | undefined; archived?: boolean | undefined; active?: boolean | undefined; display_order?: number | null | undefined; win_probability_enabled?: boolean | undefined; stages?: Array | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const PipelineInput$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 PipelineInput$ { /** @deprecated use `PipelineInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PipelineInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PipelineInput$Outbound` instead. */ type Outbound = PipelineInput$Outbound; } export declare function pipelineInputToJSON(pipelineInput: PipelineInput): string; export declare function pipelineInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=pipelineinput.d.ts.map