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 Stages = { /** * The unique identifier of the Pipeline Stage. */ id?: string | null | undefined; /** * 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 Pipeline = { /** * 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 date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: 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 | undefined; }; /** @internal */ export declare const Stages$inboundSchema: z.ZodType; /** @internal */ export type Stages$Outbound = { id?: string | null | undefined; name?: string | null | undefined; value?: string | null | undefined; win_probability?: number | null | undefined; display_order?: number | null | undefined; }; /** @internal */ export declare const Stages$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 Stages$ { /** @deprecated use `Stages$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Stages$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Stages$Outbound` instead. */ type Outbound = Stages$Outbound; } export declare function stagesToJSON(stages: Stages): string; export declare function stagesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Pipeline$inboundSchema: z.ZodType; /** @internal */ export type Pipeline$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; updated_at?: string | null | undefined; created_at?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const Pipeline$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 Pipeline$ { /** @deprecated use `Pipeline$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Pipeline$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Pipeline$Outbound` instead. */ type Outbound = Pipeline$Outbound; } export declare function pipelineToJSON(pipeline: Pipeline): string; export declare function pipelineFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=pipeline.d.ts.map