@viewcandidate/client 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/fesm2022/viewcandidate-client.mjs +73 -1
- package/fesm2022/viewcandidate-client.mjs.map +1 -1
- package/index.d.ts +61 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1219,6 +1219,8 @@ interface APIJobCandidate {
|
|
|
1219
1219
|
status: string;
|
|
1220
1220
|
createdAt: string;
|
|
1221
1221
|
updatedAt: string;
|
|
1222
|
+
notes: string | null;
|
|
1223
|
+
position: number;
|
|
1222
1224
|
stageHistory?: Array<APIJobCandidateStageHistory>;
|
|
1223
1225
|
}
|
|
1224
1226
|
|
|
@@ -1256,6 +1258,36 @@ interface CreateJobCandidateDto {
|
|
|
1256
1258
|
candidateId: string;
|
|
1257
1259
|
}
|
|
1258
1260
|
|
|
1261
|
+
/**
|
|
1262
|
+
* ViewCandidate API
|
|
1263
|
+
*
|
|
1264
|
+
*
|
|
1265
|
+
*
|
|
1266
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1267
|
+
* https://openapi-generator.tech
|
|
1268
|
+
* Do not edit the class manually.
|
|
1269
|
+
*/
|
|
1270
|
+
interface ReorderJobCandidateDto {
|
|
1271
|
+
/**
|
|
1272
|
+
* ID of the candidate to place this one before, or null/omitted to move to end
|
|
1273
|
+
*/
|
|
1274
|
+
beforeCandidateId?: string | null;
|
|
1275
|
+
/**
|
|
1276
|
+
* Target stage for the candidate
|
|
1277
|
+
*/
|
|
1278
|
+
stage: ReorderJobCandidateDto.StageEnum;
|
|
1279
|
+
}
|
|
1280
|
+
declare namespace ReorderJobCandidateDto {
|
|
1281
|
+
const StageEnum: {
|
|
1282
|
+
readonly Screening: "screening";
|
|
1283
|
+
readonly Presented: "presented";
|
|
1284
|
+
readonly InterviewRequested: "interview_requested";
|
|
1285
|
+
readonly Interviewing: "interviewing";
|
|
1286
|
+
readonly Placed: "placed";
|
|
1287
|
+
};
|
|
1288
|
+
type StageEnum = typeof StageEnum[keyof typeof StageEnum];
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1259
1291
|
/**
|
|
1260
1292
|
* ViewCandidate API
|
|
1261
1293
|
*
|
|
@@ -1274,6 +1306,10 @@ interface UpdateJobCandidateDto {
|
|
|
1274
1306
|
* Candidate status
|
|
1275
1307
|
*/
|
|
1276
1308
|
status?: UpdateJobCandidateDto.StatusEnum;
|
|
1309
|
+
/**
|
|
1310
|
+
* Internal notes about the candidate
|
|
1311
|
+
*/
|
|
1312
|
+
notes?: string;
|
|
1277
1313
|
}
|
|
1278
1314
|
declare namespace UpdateJobCandidateDto {
|
|
1279
1315
|
const StageEnum: {
|
|
@@ -1388,6 +1424,30 @@ declare class JobCandidateService extends BaseService {
|
|
|
1388
1424
|
context?: HttpContext;
|
|
1389
1425
|
transferCache?: boolean;
|
|
1390
1426
|
}): Observable<HttpEvent<APIPaginatedJobCandidateResponse>>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Reorder a candidate within or between stages
|
|
1429
|
+
* @endpoint patch /jobs/{jobId}/candidates/{id}/reorder
|
|
1430
|
+
* @param jobId
|
|
1431
|
+
* @param id
|
|
1432
|
+
* @param reorderJobCandidateDto
|
|
1433
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1434
|
+
* @param reportProgress flag to report request and response progress.
|
|
1435
|
+
*/
|
|
1436
|
+
jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1437
|
+
httpHeaderAccept?: 'application/json';
|
|
1438
|
+
context?: HttpContext;
|
|
1439
|
+
transferCache?: boolean;
|
|
1440
|
+
}): Observable<APIJobCandidate>;
|
|
1441
|
+
jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1442
|
+
httpHeaderAccept?: 'application/json';
|
|
1443
|
+
context?: HttpContext;
|
|
1444
|
+
transferCache?: boolean;
|
|
1445
|
+
}): Observable<HttpResponse<APIJobCandidate>>;
|
|
1446
|
+
jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1447
|
+
httpHeaderAccept?: 'application/json';
|
|
1448
|
+
context?: HttpContext;
|
|
1449
|
+
transferCache?: boolean;
|
|
1450
|
+
}): Observable<HttpEvent<APIJobCandidate>>;
|
|
1391
1451
|
/**
|
|
1392
1452
|
* Update stage or status of a pipeline entry
|
|
1393
1453
|
* @endpoint patch /jobs/{jobId}/candidates/{id}
|
|
@@ -1745,5 +1805,5 @@ declare class ViewCandidateApiModule {
|
|
|
1745
1805
|
|
|
1746
1806
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
1747
1807
|
|
|
1748
|
-
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
|
|
1808
|
+
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, ReorderJobCandidateDto, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
|
|
1749
1809
|
export type { APIAuthResponse, APICandidateEducationHistory, APICandidateMeta, APICandidateWithPresentations, APICandidateWorkHistory, APIClient, APIJob, APIJobCandidate, APIJobCandidateStageHistory, APIMessageResponse, APIOrganisation, APIPaginatedCandidateResponse, APIPaginatedClientResponse, APIPaginatedJobCandidateResponse, APIPaginatedJobResponse, APIPresentation, APIPublicJobCandidateCandidate, APIPublicJobCandidateCandidateEducationHistory, APIPublicJobCandidateCandidateWorkHistory, APIPublicJobCandidateOrganisation, APIPublicJobCandidateView, APIUser, APIWaitlistEntry, ConfigurationParameters, CreateClientDto, CreateJobCandidateDto, CreateJobDto, CreateWaitlistEntryDto, DataFormat, DataType, HealthControllerCheck200Response, HealthControllerCheck200ResponseInfoValue, HealthControllerCheck503Response, LoginDto, Param, ParamLocation, ParamStyle, RequestInterviewJobCandidateDto, ResendVerificationDto, SignupDto, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateCandidateEducationHistoryDto, UpdateCandidateWorkHistoryDto, UpdateJobDto, VerifyEmailDto };
|