@viewcandidate/client 0.0.23 → 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/index.d.ts CHANGED
@@ -1220,6 +1220,7 @@ interface APIJobCandidate {
1220
1220
  createdAt: string;
1221
1221
  updatedAt: string;
1222
1222
  notes: string | null;
1223
+ position: number;
1223
1224
  stageHistory?: Array<APIJobCandidateStageHistory>;
1224
1225
  }
1225
1226
 
@@ -1257,6 +1258,36 @@ interface CreateJobCandidateDto {
1257
1258
  candidateId: string;
1258
1259
  }
1259
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
+
1260
1291
  /**
1261
1292
  * ViewCandidate API
1262
1293
  *
@@ -1393,6 +1424,30 @@ declare class JobCandidateService extends BaseService {
1393
1424
  context?: HttpContext;
1394
1425
  transferCache?: boolean;
1395
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>>;
1396
1451
  /**
1397
1452
  * Update stage or status of a pipeline entry
1398
1453
  * @endpoint patch /jobs/{jobId}/candidates/{id}
@@ -1750,5 +1805,5 @@ declare class ViewCandidateApiModule {
1750
1805
 
1751
1806
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1752
1807
 
1753
- 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 };
1754
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewcandidate/client",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "OpenAPI client for @viewcandidate/client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {