import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CustomMappings, CustomMappings$Outbound } from "./custommappings.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; export declare const ApplicationStatus: { readonly Open: "open"; readonly Rejected: "rejected"; readonly Hired: "hired"; readonly Converted: "converted"; readonly Other: "other"; }; export type ApplicationStatus = ClosedEnum; export type Stage = { /** * Stage the candidate should be in. If omitted, the default stage for this job will be used. */ id?: string | null | undefined; name?: string | null | undefined; }; export type Application = { /** * A unique identifier for an object. */ id?: string | undefined; applicantId: string | null; jobId: string | null; status?: ApplicationStatus | null | undefined; stage?: Stage | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: CustomMappings | null | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; export type ApplicationInput = { applicantId: string | null; jobId: string | null; status?: ApplicationStatus | null | undefined; stage?: Stage | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const ApplicationStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ApplicationStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ApplicationStatus$ { /** @deprecated use `ApplicationStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Open: "open"; readonly Rejected: "rejected"; readonly Hired: "hired"; readonly Converted: "converted"; readonly Other: "other"; }>; /** @deprecated use `ApplicationStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Open: "open"; readonly Rejected: "rejected"; readonly Hired: "hired"; readonly Converted: "converted"; readonly Other: "other"; }>; } /** @internal */ export declare const Stage$inboundSchema: z.ZodType; /** @internal */ export type Stage$Outbound = { id?: string | null | undefined; name?: string | null | undefined; }; /** @internal */ export declare const Stage$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 Stage$ { /** @deprecated use `Stage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Stage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Stage$Outbound` instead. */ type Outbound = Stage$Outbound; } export declare function stageToJSON(stage: Stage): string; export declare function stageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Application$inboundSchema: z.ZodType; /** @internal */ export type Application$Outbound = { id?: string | undefined; applicant_id: string | null; job_id: string | null; status?: string | null | undefined; stage?: Stage$Outbound | undefined; custom_mappings?: CustomMappings$Outbound | null | undefined; updated_by?: string | null | undefined; created_by?: string | null | undefined; updated_at?: string | null | undefined; created_at?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const Application$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 Application$ { /** @deprecated use `Application$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Application$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Application$Outbound` instead. */ type Outbound = Application$Outbound; } export declare function applicationToJSON(application: Application): string; export declare function applicationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ApplicationInput$inboundSchema: z.ZodType; /** @internal */ export type ApplicationInput$Outbound = { applicant_id: string | null; job_id: string | null; status?: string | null | undefined; stage?: Stage$Outbound | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const ApplicationInput$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 ApplicationInput$ { /** @deprecated use `ApplicationInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ApplicationInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ApplicationInput$Outbound` instead. */ type Outbound = ApplicationInput$Outbound; } export declare function applicationInputToJSON(applicationInput: ApplicationInput): string; export declare function applicationInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=application.d.ts.map