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 CrmCompaniesAddGlobals = { /** * 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 CrmCompaniesAddRequest = { /** * 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 CrmCompaniesAddResponse = { httpMeta: components.HTTPMetadata; /** * Company created */ createCompanyResponse?: components.CreateCompanyResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmCompaniesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmCompaniesAddGlobals$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 CrmCompaniesAddGlobals$ { /** @deprecated use `CrmCompaniesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddGlobals$Outbound` instead. */ type Outbound = CrmCompaniesAddGlobals$Outbound; } export declare function crmCompaniesAddGlobalsToJSON(crmCompaniesAddGlobals: CrmCompaniesAddGlobals): string; export declare function crmCompaniesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Company: components.CompanyInput$Outbound; }; /** @internal */ export declare const CrmCompaniesAddRequest$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 CrmCompaniesAddRequest$ { /** @deprecated use `CrmCompaniesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddRequest$Outbound` instead. */ type Outbound = CrmCompaniesAddRequest$Outbound; } export declare function crmCompaniesAddRequestToJSON(crmCompaniesAddRequest: CrmCompaniesAddRequest): string; export declare function crmCompaniesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmCompaniesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmCompaniesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateCompanyResponse?: components.CreateCompanyResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmCompaniesAddResponse$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 CrmCompaniesAddResponse$ { /** @deprecated use `CrmCompaniesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmCompaniesAddResponse$Outbound` instead. */ type Outbound = CrmCompaniesAddResponse$Outbound; } export declare function crmCompaniesAddResponseToJSON(crmCompaniesAddResponse: CrmCompaniesAddResponse): string; export declare function crmCompaniesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcompaniesadd.d.ts.map