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 AtsApplicantsAddGlobals = { /** * 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 AtsApplicantsAddRequest = { /** * 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; applicant: components.ApplicantInput; }; export type AtsApplicantsAddResponse = { httpMeta: components.HTTPMetadata; /** * Applicants */ createApplicantResponse?: components.CreateApplicantResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AtsApplicantsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicantsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AtsApplicantsAddGlobals$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 AtsApplicantsAddGlobals$ { /** @deprecated use `AtsApplicantsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddGlobals$Outbound` instead. */ type Outbound = AtsApplicantsAddGlobals$Outbound; } export declare function atsApplicantsAddGlobalsToJSON(atsApplicantsAddGlobals: AtsApplicantsAddGlobals): string; export declare function atsApplicantsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtsApplicantsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicantsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Applicant: components.ApplicantInput$Outbound; }; /** @internal */ export declare const AtsApplicantsAddRequest$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 AtsApplicantsAddRequest$ { /** @deprecated use `AtsApplicantsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddRequest$Outbound` instead. */ type Outbound = AtsApplicantsAddRequest$Outbound; } export declare function atsApplicantsAddRequestToJSON(atsApplicantsAddRequest: AtsApplicantsAddRequest): string; export declare function atsApplicantsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtsApplicantsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicantsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateApplicantResponse?: components.CreateApplicantResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AtsApplicantsAddResponse$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 AtsApplicantsAddResponse$ { /** @deprecated use `AtsApplicantsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicantsAddResponse$Outbound` instead. */ type Outbound = AtsApplicantsAddResponse$Outbound; } export declare function atsApplicantsAddResponseToJSON(atsApplicantsAddResponse: AtsApplicantsAddResponse): string; export declare function atsApplicantsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=atsapplicantsadd.d.ts.map