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 CrmContactsAddGlobals = { /** * 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 CrmContactsAddRequest = { /** * 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; contact: components.ContactInput; }; export type CrmContactsAddResponse = { httpMeta: components.HTTPMetadata; /** * Contact created */ createContactResponse?: components.CreateContactResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const CrmContactsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const CrmContactsAddGlobals$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 CrmContactsAddGlobals$ { /** @deprecated use `CrmContactsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddGlobals$Outbound` instead. */ type Outbound = CrmContactsAddGlobals$Outbound; } export declare function crmContactsAddGlobalsToJSON(crmContactsAddGlobals: CrmContactsAddGlobals): string; export declare function crmContactsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Contact: components.ContactInput$Outbound; }; /** @internal */ export declare const CrmContactsAddRequest$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 CrmContactsAddRequest$ { /** @deprecated use `CrmContactsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddRequest$Outbound` instead. */ type Outbound = CrmContactsAddRequest$Outbound; } export declare function crmContactsAddRequestToJSON(crmContactsAddRequest: CrmContactsAddRequest): string; export declare function crmContactsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CrmContactsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type CrmContactsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateContactResponse?: components.CreateContactResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const CrmContactsAddResponse$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 CrmContactsAddResponse$ { /** @deprecated use `CrmContactsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CrmContactsAddResponse$Outbound` instead. */ type Outbound = CrmContactsAddResponse$Outbound; } export declare function crmContactsAddResponseToJSON(crmContactsAddResponse: CrmContactsAddResponse): string; export declare function crmContactsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=crmcontactsadd.d.ts.map