import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; import { Currency } from "./currency.js"; import { CustomField, CustomField$Outbound } from "./customfield.js"; import { Department } from "./department.js"; import { DepartmentInput, DepartmentInput$Outbound } from "./departmentinput.js"; import { JobStatus } from "./jobstatus.js"; /** * The visibility of the job */ export declare const Visibility: { readonly Draft: "draft"; readonly Public: "public"; readonly Internal: "internal"; }; /** * The visibility of the job */ export type Visibility = OpenEnum; export declare const EmploymentTerms: { readonly FullTime: "full-time"; readonly PartTime: "part-time"; readonly Internship: "internship"; readonly Contractor: "contractor"; readonly Employee: "employee"; readonly Freelance: "freelance"; readonly Temp: "temp"; readonly Seasonal: "seasonal"; readonly Volunteer: "volunteer"; readonly Other: "other"; }; export type EmploymentTerms = OpenEnum; /** * Details of the branch for which the job is created. */ export type Branch = { /** * A unique identifier for an object. */ id?: string | undefined; /** * Name of the branch. */ name?: string | undefined; }; export type Blocks = { title?: string | undefined; content?: string | null | undefined; }; export type Salary = { /** * Minimum salary payable for the job role. */ min?: number | undefined; /** * Maximum salary payable for the job role. */ max?: number | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; interval?: string | null | undefined; }; export declare const JobType: { readonly JobPortal: "job_portal"; readonly JobDescription: "job_description"; }; export type JobType = OpenEnum; export type JobLinks = { type?: JobType | undefined; url?: string | undefined; }; export type Job = { /** * A unique identifier for an object. */ id?: string | undefined; slug?: string | null | undefined; /** * The job title of the person. */ title?: string | null | undefined; /** * Sequence in relation to other jobs. */ sequence?: number | undefined; /** * The visibility of the job */ visibility?: Visibility | undefined; /** * The status of the job. */ status?: JobStatus | undefined; /** * The code of the job. */ code?: string | undefined; /** * language code according to ISO 639-1. For the United States - EN */ language?: string | null | undefined; employmentTerms?: EmploymentTerms | null | undefined; /** * Level of experience required for the job role. */ experience?: string | undefined; /** * Specifies the location for the job posting. */ location?: string | null | undefined; /** * Specifies whether the posting is for a remote job. */ remote?: boolean | null | undefined; /** * A job's Requisition ID (Req ID) allows your organization to identify and track a job based on alphanumeric naming conventions unique to your company's internal processes. */ requisitionId?: string | undefined; department?: Department | undefined; /** * Details of the branch for which the job is created. */ branch?: Branch | undefined; /** * The recruiter is generally someone who is tasked to help the hiring manager find and screen qualified applicant */ recruiters?: Array | null | undefined; hiringManagers?: Array | undefined; followers?: Array | null | undefined; /** * A description of the object. */ description?: string | null | undefined; /** * The job description in HTML format */ descriptionHtml?: string | null | undefined; blocks?: Array | undefined; closing?: string | null | undefined; /** * The closing section of the job description in HTML format */ closingHtml?: string | null | undefined; closingDate?: Date | null | undefined; salary?: Salary | undefined; /** * URL of the job description * * @deprecated field: This field is deprecated and may be removed in a future version.. */ url?: string | null | undefined; /** * URL of the job portal * * @deprecated field: This field is deprecated and may be removed in a future version.. */ jobPortalUrl?: string | null | undefined; /** * @deprecated field: This field is deprecated and may be removed in a future version.. */ recordUrl?: string | null | undefined; links?: Array | undefined; confidential?: boolean | undefined; /** * Specifies whether an employee of the organization can apply for the job. */ availableToEmployees?: boolean | undefined; tags?: Array | null | undefined; addresses?: Array
| undefined; customFields?: Array | undefined; /** * Flag to indicate if the object is deleted. */ deleted?: boolean | null | undefined; ownerId?: string | null | undefined; publishedAt?: Date | null | undefined; /** * When custom mappings are configured on the resource, the result is included here. */ customMappings?: { [k: string]: any; } | 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; }; /** * Details of the branch for which the job is created. */ export type JobBranch = { /** * Name of the branch. */ name?: string | undefined; }; export type JobInput = { slug?: string | null | undefined; /** * The job title of the person. */ title?: string | null | undefined; /** * Sequence in relation to other jobs. */ sequence?: number | undefined; /** * The visibility of the job */ visibility?: Visibility | undefined; /** * The status of the job. */ status?: JobStatus | undefined; /** * The code of the job. */ code?: string | undefined; /** * language code according to ISO 639-1. For the United States - EN */ language?: string | null | undefined; employmentTerms?: EmploymentTerms | null | undefined; /** * Level of experience required for the job role. */ experience?: string | undefined; /** * Specifies the location for the job posting. */ location?: string | null | undefined; /** * Specifies whether the posting is for a remote job. */ remote?: boolean | null | undefined; /** * A job's Requisition ID (Req ID) allows your organization to identify and track a job based on alphanumeric naming conventions unique to your company's internal processes. */ requisitionId?: string | undefined; department?: DepartmentInput | undefined; /** * Details of the branch for which the job is created. */ branch?: JobBranch | undefined; /** * The recruiter is generally someone who is tasked to help the hiring manager find and screen qualified applicant */ recruiters?: Array | null | undefined; hiringManagers?: Array | undefined; followers?: Array | null | undefined; /** * A description of the object. */ description?: string | null | undefined; /** * The job description in HTML format */ descriptionHtml?: string | null | undefined; blocks?: Array | undefined; closing?: string | null | undefined; /** * The closing section of the job description in HTML format */ closingHtml?: string | null | undefined; closingDate?: Date | null | undefined; salary?: Salary | undefined; /** * URL of the job description * * @deprecated field: This field is deprecated and may be removed in a future version.. */ url?: string | null | undefined; /** * URL of the job portal * * @deprecated field: This field is deprecated and may be removed in a future version.. */ jobPortalUrl?: string | null | undefined; /** * @deprecated field: This field is deprecated and may be removed in a future version.. */ recordUrl?: string | null | undefined; links?: Array | undefined; confidential?: boolean | undefined; /** * Specifies whether an employee of the organization can apply for the job. */ availableToEmployees?: boolean | undefined; tags?: Array | null | undefined; addresses?: Array
| undefined; customFields?: Array | undefined; /** * Flag to indicate if the object is deleted. */ deleted?: boolean | null | undefined; ownerId?: string | null | undefined; }; /** @internal */ export declare const Visibility$inboundSchema: z.ZodType; /** @internal */ export declare const Visibility$outboundSchema: z.ZodType; /** @internal */ export declare const EmploymentTerms$inboundSchema: z.ZodType; /** @internal */ export declare const EmploymentTerms$outboundSchema: z.ZodType; /** @internal */ export declare const Branch$inboundSchema: z.ZodType; export declare function branchFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Blocks$inboundSchema: z.ZodType; /** @internal */ export type Blocks$Outbound = { title?: string | undefined; content?: string | null | undefined; }; /** @internal */ export declare const Blocks$outboundSchema: z.ZodType; export declare function blocksToJSON(blocks: Blocks): string; export declare function blocksFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Salary$inboundSchema: z.ZodType; /** @internal */ export type Salary$Outbound = { min?: number | undefined; max?: number | undefined; currency?: string | null | undefined; interval?: string | null | undefined; }; /** @internal */ export declare const Salary$outboundSchema: z.ZodType; export declare function salaryToJSON(salary: Salary): string; export declare function salaryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const JobType$inboundSchema: z.ZodType; /** @internal */ export declare const JobType$outboundSchema: z.ZodType; /** @internal */ export declare const JobLinks$inboundSchema: z.ZodType; /** @internal */ export type JobLinks$Outbound = { type?: string | undefined; url?: string | undefined; }; /** @internal */ export declare const JobLinks$outboundSchema: z.ZodType; export declare function jobLinksToJSON(jobLinks: JobLinks): string; export declare function jobLinksFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Job$inboundSchema: z.ZodType; export declare function jobFromJSON(jsonString: string): SafeParseResult; /** @internal */ export type JobBranch$Outbound = { name?: string | undefined; }; /** @internal */ export declare const JobBranch$outboundSchema: z.ZodType; export declare function jobBranchToJSON(jobBranch: JobBranch): string; /** @internal */ export type JobInput$Outbound = { slug?: string | null | undefined; title?: string | null | undefined; sequence?: number | undefined; visibility?: string | undefined; status?: string | undefined; code?: string | undefined; language?: string | null | undefined; employment_terms?: string | null | undefined; experience?: string | undefined; location?: string | null | undefined; remote?: boolean | null | undefined; requisition_id?: string | undefined; department?: DepartmentInput$Outbound | undefined; branch?: JobBranch$Outbound | undefined; recruiters?: Array | null | undefined; hiring_managers?: Array | undefined; followers?: Array | null | undefined; description?: string | null | undefined; description_html?: string | null | undefined; blocks?: Array | undefined; closing?: string | null | undefined; closing_html?: string | null | undefined; closing_date?: string | null | undefined; salary?: Salary$Outbound | undefined; url?: string | null | undefined; job_portal_url?: string | null | undefined; record_url?: string | null | undefined; links?: Array | undefined; confidential?: boolean | undefined; available_to_employees?: boolean | undefined; tags?: Array | null | undefined; addresses?: Array | undefined; custom_fields?: Array | undefined; deleted?: boolean | null | undefined; owner_id?: string | null | undefined; }; /** @internal */ export declare const JobInput$outboundSchema: z.ZodType; export declare function jobInputToJSON(jobInput: JobInput): string; //# sourceMappingURL=job.d.ts.map