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 CrmCompaniesUpdateGlobals = { /** * 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 CrmCompaniesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; company: components.CompanyInput; }; export type CrmCompaniesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Company updated */ updateCompanyResponse?: components.UpdateCompanyResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmCompaniesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmCompaniesUpdateGlobals$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 CrmCompaniesUpdateGlobals$ { /** @deprecated use `CrmCompaniesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateGlobals$Outbound` instead. */ type Outbound = CrmCompaniesUpdateGlobals$Outbound; } export declare function crmCompaniesUpdateGlobalsToJSON(crmCompaniesUpdateGlobals: CrmCompaniesUpdateGlobals): string; export declare function crmCompaniesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesUpdateRequest$Outbound = { id: string; raw: boolean; serviceId?: string | undefined; Company: components.CompanyInput$Outbound; }; /** @internal */ export declare const CrmCompaniesUpdateRequest$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 CrmCompaniesUpdateRequest$ { /** @deprecated use `CrmCompaniesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateRequest$Outbound` instead. */ type Outbound = CrmCompaniesUpdateRequest$Outbound; } export declare function crmCompaniesUpdateRequestToJSON(crmCompaniesUpdateRequest: CrmCompaniesUpdateRequest): string; export declare function crmCompaniesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateCompanyResponse?: components.UpdateCompanyResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmCompaniesUpdateResponse$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 CrmCompaniesUpdateResponse$ { /** @deprecated use `CrmCompaniesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesUpdateResponse$Outbound` instead. */ type Outbound = CrmCompaniesUpdateResponse$Outbound; } export declare function crmCompaniesUpdateResponseToJSON(crmCompaniesUpdateResponse: CrmCompaniesUpdateResponse): string; export declare function crmCompaniesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcompaniesupdate.d.ts.map