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 CrmPipelinesUpdateGlobals = { /** * 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 CrmPipelinesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; pipeline: components.PipelineInput; }; export type CrmPipelinesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Pipeline updated */ updatePipelineResponse?: components.UpdatePipelineResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmPipelinesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmPipelinesUpdateGlobals$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 CrmPipelinesUpdateGlobals$ { /** @deprecated use `CrmPipelinesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateGlobals$Outbound` instead. */ type Outbound = CrmPipelinesUpdateGlobals$Outbound; } export declare function crmPipelinesUpdateGlobalsToJSON(crmPipelinesUpdateGlobals: CrmPipelinesUpdateGlobals): string; export declare function crmPipelinesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmPipelinesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Pipeline: components.PipelineInput$Outbound; }; /** @internal */ export declare const CrmPipelinesUpdateRequest$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 CrmPipelinesUpdateRequest$ { /** @deprecated use `CrmPipelinesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateRequest$Outbound` instead. */ type Outbound = CrmPipelinesUpdateRequest$Outbound; } export declare function crmPipelinesUpdateRequestToJSON(crmPipelinesUpdateRequest: CrmPipelinesUpdateRequest): string; export declare function crmPipelinesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmPipelinesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmPipelinesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdatePipelineResponse?: components.UpdatePipelineResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmPipelinesUpdateResponse$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 CrmPipelinesUpdateResponse$ { /** @deprecated use `CrmPipelinesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmPipelinesUpdateResponse$Outbound` instead. */ type Outbound = CrmPipelinesUpdateResponse$Outbound; } export declare function crmPipelinesUpdateResponseToJSON(crmPipelinesUpdateResponse: CrmPipelinesUpdateResponse): string; export declare function crmPipelinesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmpipelinesupdate.d.ts.map