23 lines
1.2 KiB
TypeScript
23 lines
1.2 KiB
TypeScript
/**
|
|
* Generated by orval 🍺
|
|
* Do not edit manually.
|
|
* Lincodex API
|
|
* OpenAPI spec version: 0.1.0
|
|
*/
|
|
import * as zod from 'zod';
|
|
|
|
export const profileExperienceOverlapFirstIndexMin = 0;
|
|
export const profileExperienceOverlapFirstIndexMax = 19;
|
|
|
|
export const profileExperienceOverlapSecondIndexMax = 19;
|
|
|
|
|
|
export const ProfileExperienceOverlap = zod.object({
|
|
"first_index": zod.int().min(profileExperienceOverlapFirstIndexMin).max(profileExperienceOverlapFirstIndexMax),
|
|
"second_index": zod.int().min(1).max(profileExperienceOverlapSecondIndexMax),
|
|
"status": zod.enum(['needs_confirmation', 'confirmed']).describe('Whether the candidate confirmed that two overlapping periods are genuine parallel work.')
|
|
}).describe('One pair of work history entries whose inclusive month ranges overlap. The indices refer to the experience array in this profile version. `confirmed` records an explicit acknowledgement for this pair of dates; otherwise the pair needs confirmation before a changed profile can be saved.')
|
|
|
|
export type ProfileExperienceOverlap = zod.input<typeof ProfileExperienceOverlap>;
|
|
export type ProfileExperienceOverlapOutput = zod.output<typeof ProfileExperienceOverlap>;
|