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 CrmCompaniesDeleteGlobals = { /** * 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 CrmCompaniesDeleteRequest = { /** * 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; }; export type CrmCompaniesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Company deleted */ deleteCompanyResponse?: components.DeleteCompanyResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmCompaniesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmCompaniesDeleteGlobals$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 CrmCompaniesDeleteGlobals$ { /** @deprecated use `CrmCompaniesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteGlobals$Outbound` instead. */ type Outbound = CrmCompaniesDeleteGlobals$Outbound; } export declare function crmCompaniesDeleteGlobalsToJSON(crmCompaniesDeleteGlobals: CrmCompaniesDeleteGlobals): string; export declare function crmCompaniesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesDeleteRequest$Outbound = { id: string; raw: boolean; serviceId?: string | undefined; }; /** @internal */ export declare const CrmCompaniesDeleteRequest$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 CrmCompaniesDeleteRequest$ { /** @deprecated use `CrmCompaniesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteRequest$Outbound` instead. */ type Outbound = CrmCompaniesDeleteRequest$Outbound; } export declare function crmCompaniesDeleteRequestToJSON(crmCompaniesDeleteRequest: CrmCompaniesDeleteRequest): string; export declare function crmCompaniesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteCompanyResponse?: components.DeleteCompanyResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmCompaniesDeleteResponse$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 CrmCompaniesDeleteResponse$ { /** @deprecated use `CrmCompaniesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesDeleteResponse$Outbound` instead. */ type Outbound = CrmCompaniesDeleteResponse$Outbound; } export declare function crmCompaniesDeleteResponseToJSON(crmCompaniesDeleteResponse: CrmCompaniesDeleteResponse): string; export declare function crmCompaniesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcompaniesdelete.d.ts.map