import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CrmPipelinesAddGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type CrmPipelinesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; pipeline: components.PipelineInput; }; export type CrmPipelinesAddResponse = { httpMeta: components.HTTPMetadata; /** * Pipeline created */ createPipelineResponse?: components.CreatePipelineResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmPipelinesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmPipelinesAddGlobals$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 CrmPipelinesAddGlobals$ { /** @deprecated use `CrmPipelinesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddGlobals$Outbound` instead. */ type Outbound = CrmPipelinesAddGlobals$Outbound; } export declare function crmPipelinesAddGlobalsToJSON(crmPipelinesAddGlobals: CrmPipelinesAddGlobals): string; export declare function crmPipelinesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmPipelinesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Pipeline: components.PipelineInput$Outbound; }; /** @internal */ export declare const CrmPipelinesAddRequest$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 CrmPipelinesAddRequest$ { /** @deprecated use `CrmPipelinesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddRequest$Outbound` instead. */ type Outbound = CrmPipelinesAddRequest$Outbound; } export declare function crmPipelinesAddRequestToJSON(crmPipelinesAddRequest: CrmPipelinesAddRequest): string; export declare function crmPipelinesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmPipelinesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreatePipelineResponse?: components.CreatePipelineResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmPipelinesAddResponse$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 CrmPipelinesAddResponse$ { /** @deprecated use `CrmPipelinesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesAddResponse$Outbound` instead. */ type Outbound = CrmPipelinesAddResponse$Outbound; } export declare function crmPipelinesAddResponseToJSON(crmPipelinesAddResponse: CrmPipelinesAddResponse): string; export declare function crmPipelinesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmpipelinesadd.d.ts.map