@viewcandidate/client 0.0.23 → 0.0.25

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
@@ -473,44 +473,8 @@ interface APICandidateWorkHistory {
473
473
  * https://openapi-generator.tech
474
474
  * Do not edit the class manually.
475
475
  */
476
- interface APIClient {
477
- id: string;
478
- name: string;
479
- }
480
476
 
481
- /**
482
- * ViewCandidate API
483
- *
484
- *
485
- *
486
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
487
- * https://openapi-generator.tech
488
- * Do not edit the class manually.
489
- */
490
-
491
- interface APIPresentation {
492
- id: string;
493
- linkToken: string;
494
- clientId: string;
495
- client: APIClient;
496
- maskName: boolean;
497
- maskCompanies: boolean;
498
- jobTitle?: string;
499
- viewCount: number;
500
- createdAt: string;
501
- }
502
-
503
- /**
504
- * ViewCandidate API
505
- *
506
- *
507
- *
508
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
509
- * https://openapi-generator.tech
510
- * Do not edit the class manually.
511
- */
512
-
513
- interface APICandidateWithPresentations {
477
+ interface APICandidate {
514
478
  id: string;
515
479
  fullName: string;
516
480
  role: string;
@@ -529,7 +493,6 @@ interface APICandidateWithPresentations {
529
493
  createdAt: string;
530
494
  workHistory: Array<APICandidateWorkHistory>;
531
495
  educationHistory: Array<APICandidateEducationHistory>;
532
- presentations: Array<APIPresentation>;
533
496
  }
534
497
 
535
498
  declare class CVExtractionService extends BaseService {
@@ -546,17 +509,17 @@ declare class CVExtractionService extends BaseService {
546
509
  httpHeaderAccept?: 'application/json';
547
510
  context?: HttpContext;
548
511
  transferCache?: boolean;
549
- }): Observable<APICandidateWithPresentations>;
512
+ }): Observable<APICandidate>;
550
513
  cvExtractionControllerSummarizeCandidate(file: Blob, observe?: 'response', reportProgress?: boolean, options?: {
551
514
  httpHeaderAccept?: 'application/json';
552
515
  context?: HttpContext;
553
516
  transferCache?: boolean;
554
- }): Observable<HttpResponse<APICandidateWithPresentations>>;
517
+ }): Observable<HttpResponse<APICandidate>>;
555
518
  cvExtractionControllerSummarizeCandidate(file: Blob, observe?: 'events', reportProgress?: boolean, options?: {
556
519
  httpHeaderAccept?: 'application/json';
557
520
  context?: HttpContext;
558
521
  transferCache?: boolean;
559
- }): Observable<HttpEvent<APICandidateWithPresentations>>;
522
+ }): Observable<HttpEvent<APICandidate>>;
560
523
  static ɵfac: i0.ɵɵFactoryDeclaration<CVExtractionService, [null, { optional: true; }, { optional: true; }]>;
561
524
  static ɵprov: i0.ɵɵInjectableDeclaration<CVExtractionService>;
562
525
  }
@@ -572,7 +535,7 @@ declare class CVExtractionService extends BaseService {
572
535
  */
573
536
 
574
537
  interface APIPaginatedCandidateResponse {
575
- data: Array<APICandidateWithPresentations>;
538
+ data: Array<APICandidate>;
576
539
  page: number;
577
540
  pageSize: number;
578
541
  total: number;
@@ -732,19 +695,19 @@ declare class CandidateService extends BaseService {
732
695
  httpHeaderAccept?: 'application/json';
733
696
  context?: HttpContext;
734
697
  transferCache?: boolean;
735
- }): Observable<APICandidateWithPresentations>;
698
+ }): Observable<APICandidate>;
736
699
  candidateControllerGetCandidate(id: string, observe?: 'response', reportProgress?: boolean, options?: {
737
700
  httpHeaderAccept?: 'application/json';
738
701
  context?: HttpContext;
739
702
  transferCache?: boolean;
740
- }): Observable<HttpResponse<APICandidateWithPresentations>>;
703
+ }): Observable<HttpResponse<APICandidate>>;
741
704
  candidateControllerGetCandidate(id: string, observe?: 'events', reportProgress?: boolean, options?: {
742
705
  httpHeaderAccept?: 'application/json';
743
706
  context?: HttpContext;
744
707
  transferCache?: boolean;
745
- }): Observable<HttpEvent<APICandidateWithPresentations>>;
708
+ }): Observable<HttpEvent<APICandidate>>;
746
709
  /**
747
- * List candidates with presentations
710
+ * List candidates
748
711
  * @endpoint get /candidates
749
712
  * @param page Page number
750
713
  * @param q Search query for typeahead filtering by name, role, email or location
@@ -778,21 +741,35 @@ declare class CandidateService extends BaseService {
778
741
  httpHeaderAccept?: 'application/json';
779
742
  context?: HttpContext;
780
743
  transferCache?: boolean;
781
- }): Observable<APICandidateWithPresentations>;
744
+ }): Observable<APICandidate>;
782
745
  candidateControllerUpdateCandidate(id: string, updateCandidateDto: UpdateCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
783
746
  httpHeaderAccept?: 'application/json';
784
747
  context?: HttpContext;
785
748
  transferCache?: boolean;
786
- }): Observable<HttpResponse<APICandidateWithPresentations>>;
749
+ }): Observable<HttpResponse<APICandidate>>;
787
750
  candidateControllerUpdateCandidate(id: string, updateCandidateDto: UpdateCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
788
751
  httpHeaderAccept?: 'application/json';
789
752
  context?: HttpContext;
790
753
  transferCache?: boolean;
791
- }): Observable<HttpEvent<APICandidateWithPresentations>>;
754
+ }): Observable<HttpEvent<APICandidate>>;
792
755
  static ɵfac: i0.ɵɵFactoryDeclaration<CandidateService, [null, { optional: true; }, { optional: true; }]>;
793
756
  static ɵprov: i0.ɵɵInjectableDeclaration<CandidateService>;
794
757
  }
795
758
 
759
+ /**
760
+ * ViewCandidate API
761
+ *
762
+ *
763
+ *
764
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
765
+ * https://openapi-generator.tech
766
+ * Do not edit the class manually.
767
+ */
768
+ interface APIClient {
769
+ id: string;
770
+ name: string;
771
+ }
772
+
796
773
  /**
797
774
  * ViewCandidate API
798
775
  *
@@ -1220,6 +1197,7 @@ interface APIJobCandidate {
1220
1197
  createdAt: string;
1221
1198
  updatedAt: string;
1222
1199
  notes: string | null;
1200
+ position: number;
1223
1201
  stageHistory?: Array<APIJobCandidateStageHistory>;
1224
1202
  }
1225
1203
 
@@ -1257,6 +1235,36 @@ interface CreateJobCandidateDto {
1257
1235
  candidateId: string;
1258
1236
  }
1259
1237
 
1238
+ /**
1239
+ * ViewCandidate API
1240
+ *
1241
+ *
1242
+ *
1243
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1244
+ * https://openapi-generator.tech
1245
+ * Do not edit the class manually.
1246
+ */
1247
+ interface ReorderJobCandidateDto {
1248
+ /**
1249
+ * ID of the candidate to place this one before, or null/omitted to move to end
1250
+ */
1251
+ beforeCandidateId?: string | null;
1252
+ /**
1253
+ * Target stage for the candidate
1254
+ */
1255
+ stage: ReorderJobCandidateDto.StageEnum;
1256
+ }
1257
+ declare namespace ReorderJobCandidateDto {
1258
+ const StageEnum: {
1259
+ readonly Screening: "screening";
1260
+ readonly Presented: "presented";
1261
+ readonly InterviewRequested: "interview_requested";
1262
+ readonly Interviewing: "interviewing";
1263
+ readonly Placed: "placed";
1264
+ };
1265
+ type StageEnum = typeof StageEnum[keyof typeof StageEnum];
1266
+ }
1267
+
1260
1268
  /**
1261
1269
  * ViewCandidate API
1262
1270
  *
@@ -1393,6 +1401,30 @@ declare class JobCandidateService extends BaseService {
1393
1401
  context?: HttpContext;
1394
1402
  transferCache?: boolean;
1395
1403
  }): Observable<HttpEvent<APIPaginatedJobCandidateResponse>>;
1404
+ /**
1405
+ * Reorder a candidate within or between stages
1406
+ * @endpoint patch /jobs/{jobId}/candidates/{id}/reorder
1407
+ * @param jobId
1408
+ * @param id
1409
+ * @param reorderJobCandidateDto
1410
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1411
+ * @param reportProgress flag to report request and response progress.
1412
+ */
1413
+ jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
1414
+ httpHeaderAccept?: 'application/json';
1415
+ context?: HttpContext;
1416
+ transferCache?: boolean;
1417
+ }): Observable<APIJobCandidate>;
1418
+ jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
1419
+ httpHeaderAccept?: 'application/json';
1420
+ context?: HttpContext;
1421
+ transferCache?: boolean;
1422
+ }): Observable<HttpResponse<APIJobCandidate>>;
1423
+ jobCandidateControllerReorderJobCandidate(jobId: string, id: string, reorderJobCandidateDto: ReorderJobCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
1424
+ httpHeaderAccept?: 'application/json';
1425
+ context?: HttpContext;
1426
+ transferCache?: boolean;
1427
+ }): Observable<HttpEvent<APIJobCandidate>>;
1396
1428
  /**
1397
1429
  * Update stage or status of a pipeline entry
1398
1430
  * @endpoint patch /jobs/{jobId}/candidates/{id}
@@ -1750,5 +1782,5 @@ declare class ViewCandidateApiModule {
1750
1782
 
1751
1783
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1752
1784
 
1753
- export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1754
- 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 };
1785
+ export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, ReorderJobCandidateDto, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1786
+ export type { APIAuthResponse, APICandidate, APICandidateEducationHistory, APICandidateMeta, APICandidateWorkHistory, APIClient, APIJob, APIJobCandidate, APIJobCandidateStageHistory, APIMessageResponse, APIOrganisation, APIPaginatedCandidateResponse, APIPaginatedClientResponse, APIPaginatedJobCandidateResponse, APIPaginatedJobResponse, 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.25",
4
4
  "description": "OpenAPI client for @viewcandidate/client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {