@viewcandidate/client 0.0.19 → 0.0.21

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
@@ -747,20 +747,21 @@ declare class CandidateService extends BaseService {
747
747
  * List candidates with presentations
748
748
  * @endpoint get /candidates
749
749
  * @param page Page number
750
+ * @param q Search query for typeahead filtering by name, role, email or location
750
751
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
751
752
  * @param reportProgress flag to report request and response progress.
752
753
  */
753
- candidateControllerGetCandidates(page?: number, observe?: 'body', reportProgress?: boolean, options?: {
754
+ candidateControllerGetCandidates(page?: number, q?: string, observe?: 'body', reportProgress?: boolean, options?: {
754
755
  httpHeaderAccept?: 'application/json';
755
756
  context?: HttpContext;
756
757
  transferCache?: boolean;
757
758
  }): Observable<APIPaginatedCandidateResponse>;
758
- candidateControllerGetCandidates(page?: number, observe?: 'response', reportProgress?: boolean, options?: {
759
+ candidateControllerGetCandidates(page?: number, q?: string, observe?: 'response', reportProgress?: boolean, options?: {
759
760
  httpHeaderAccept?: 'application/json';
760
761
  context?: HttpContext;
761
762
  transferCache?: boolean;
762
763
  }): Observable<HttpResponse<APIPaginatedCandidateResponse>>;
763
- candidateControllerGetCandidates(page?: number, observe?: 'events', reportProgress?: boolean, options?: {
764
+ candidateControllerGetCandidates(page?: number, q?: string, observe?: 'events', reportProgress?: boolean, options?: {
764
765
  httpHeaderAccept?: 'application/json';
765
766
  context?: HttpContext;
766
767
  transferCache?: boolean;
@@ -959,6 +960,8 @@ interface APIJob {
959
960
  description: string;
960
961
  clientId: string;
961
962
  client: APIClient;
963
+ maskName: boolean;
964
+ maskCompanies: boolean;
962
965
  createdAt: string;
963
966
  }
964
967
 
@@ -1002,6 +1005,14 @@ interface CreateJobDto {
1002
1005
  * Client ID this job belongs to
1003
1006
  */
1004
1007
  clientId: string;
1008
+ /**
1009
+ * Whether to mask candidate names in public views
1010
+ */
1011
+ maskName?: boolean;
1012
+ /**
1013
+ * Whether to mask company names in public views
1014
+ */
1015
+ maskCompanies?: boolean;
1005
1016
  }
1006
1017
 
1007
1018
  /**
@@ -1026,6 +1037,14 @@ interface UpdateJobDto {
1026
1037
  * Client ID this job belongs to
1027
1038
  */
1028
1039
  clientId?: string;
1040
+ /**
1041
+ * Whether to mask candidate names in public views
1042
+ */
1043
+ maskName?: boolean;
1044
+ /**
1045
+ * Whether to mask company names in public views
1046
+ */
1047
+ maskCompanies?: boolean;
1029
1048
  }
1030
1049
 
1031
1050
  declare class JobService extends BaseService {
@@ -1192,6 +1211,7 @@ interface APICandidateMeta {
1192
1211
 
1193
1212
  interface APIJobCandidate {
1194
1213
  id: string;
1214
+ linkToken: string;
1195
1215
  jobId: string;
1196
1216
  candidateId: string;
1197
1217
  candidate: APICandidateMeta;
@@ -1259,6 +1279,7 @@ declare namespace UpdateJobCandidateDto {
1259
1279
  const StageEnum: {
1260
1280
  readonly Screening: "screening";
1261
1281
  readonly Presented: "presented";
1282
+ readonly InterviewRequested: "interview_requested";
1262
1283
  readonly Interviewing: "interviewing";
1263
1284
  readonly Placed: "placed";
1264
1285
  };
@@ -1352,17 +1373,17 @@ declare class JobCandidateService extends BaseService {
1352
1373
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1353
1374
  * @param reportProgress flag to report request and response progress.
1354
1375
  */
1355
- jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'body', reportProgress?: boolean, options?: {
1376
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interview_requested' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'body', reportProgress?: boolean, options?: {
1356
1377
  httpHeaderAccept?: 'application/json';
1357
1378
  context?: HttpContext;
1358
1379
  transferCache?: boolean;
1359
1380
  }): Observable<APIPaginatedJobCandidateResponse>;
1360
- jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'response', reportProgress?: boolean, options?: {
1381
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interview_requested' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'response', reportProgress?: boolean, options?: {
1361
1382
  httpHeaderAccept?: 'application/json';
1362
1383
  context?: HttpContext;
1363
1384
  transferCache?: boolean;
1364
1385
  }): Observable<HttpResponse<APIPaginatedJobCandidateResponse>>;
1365
- jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'events', reportProgress?: boolean, options?: {
1386
+ jobCandidateControllerGetJobCandidates(jobId: string, page?: number, stage?: 'screening' | 'presented' | 'interview_requested' | 'interviewing' | 'placed', status?: 'active' | 'rejected', observe?: 'events', reportProgress?: boolean, options?: {
1366
1387
  httpHeaderAccept?: 'application/json';
1367
1388
  context?: HttpContext;
1368
1389
  transferCache?: boolean;
@@ -1395,37 +1416,6 @@ declare class JobCandidateService extends BaseService {
1395
1416
  static ɵprov: i0.ɵɵInjectableDeclaration<JobCandidateService>;
1396
1417
  }
1397
1418
 
1398
- declare class OrganisationService extends BaseService {
1399
- protected httpClient: HttpClient;
1400
- constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1401
- /**
1402
- * Update organisation branding (admin only)
1403
- * @endpoint patch /organisation
1404
- * @param name Organisation name
1405
- * @param brandColour Brand colour in hex format. Send \\\&quot;DELETE\\\&quot; to remove the brand colour.
1406
- * @param logo Logo image (PNG, JPEG, or WebP). Max 5MB. Will be resized to 400x400 max.
1407
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1408
- * @param reportProgress flag to report request and response progress.
1409
- */
1410
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
1411
- httpHeaderAccept?: 'application/json';
1412
- context?: HttpContext;
1413
- transferCache?: boolean;
1414
- }): Observable<APIOrganisation>;
1415
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
1416
- httpHeaderAccept?: 'application/json';
1417
- context?: HttpContext;
1418
- transferCache?: boolean;
1419
- }): Observable<HttpResponse<APIOrganisation>>;
1420
- organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
1421
- httpHeaderAccept?: 'application/json';
1422
- context?: HttpContext;
1423
- transferCache?: boolean;
1424
- }): Observable<HttpEvent<APIOrganisation>>;
1425
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, [null, { optional: true; }, { optional: true; }]>;
1426
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1427
- }
1428
-
1429
1419
  /**
1430
1420
  * ViewCandidate API
1431
1421
  *
@@ -1435,64 +1425,10 @@ declare class OrganisationService extends BaseService {
1435
1425
  * https://openapi-generator.tech
1436
1426
  * Do not edit the class manually.
1437
1427
  */
1438
-
1439
- interface APIPresentationWithCandidateMeta {
1440
- id: string;
1441
- linkToken: string;
1442
- candidate: APICandidateMeta;
1443
- clientId: string;
1444
- client: APIClient;
1445
- maskName: boolean;
1446
- maskCompanies: boolean;
1447
- jobTitle?: string;
1448
- viewCount: number;
1449
- createdAt: string;
1450
- }
1451
-
1452
- /**
1453
- * ViewCandidate API
1454
- *
1455
- *
1456
- *
1457
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1458
- * https://openapi-generator.tech
1459
- * Do not edit the class manually.
1460
- */
1461
-
1462
- interface APIInterviewRequest {
1463
- id: string;
1464
- /**
1465
- * Name of the person who requested the interview
1466
- */
1428
+ interface APIPublicJobCandidateOrganisation {
1467
1429
  name: string;
1468
- /**
1469
- * Email of the person who requested the interview
1470
- */
1471
- email: string;
1472
- /**
1473
- * Optional message from the requester
1474
- */
1475
- message?: string;
1476
- createdAt: string;
1477
- presentation: APIPresentationWithCandidateMeta;
1478
- }
1479
-
1480
- /**
1481
- * ViewCandidate API
1482
- *
1483
- *
1484
- *
1485
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1486
- * https://openapi-generator.tech
1487
- * Do not edit the class manually.
1488
- */
1489
-
1490
- interface APIPaginatedInterviewRequestResponse {
1491
- data: Array<APIInterviewRequest>;
1492
- page: number;
1493
- pageSize: number;
1494
- total: number;
1495
- totalPages: number;
1430
+ brandColour?: string | null;
1431
+ logoUrl?: string;
1496
1432
  }
1497
1433
 
1498
1434
  /**
@@ -1504,13 +1440,12 @@ interface APIPaginatedInterviewRequestResponse {
1504
1440
  * https://openapi-generator.tech
1505
1441
  * Do not edit the class manually.
1506
1442
  */
1507
- interface APIPublicPresentationCandidateWorkHistory {
1443
+ interface APIPublicJobCandidateCandidateEducationHistory {
1508
1444
  id: string;
1509
1445
  title: string;
1510
- companyName: string;
1446
+ institution: string;
1511
1447
  startDate: string;
1512
1448
  endDate?: string;
1513
- descriptionBulletPoints: Array<string>;
1514
1449
  }
1515
1450
 
1516
1451
  /**
@@ -1522,12 +1457,13 @@ interface APIPublicPresentationCandidateWorkHistory {
1522
1457
  * https://openapi-generator.tech
1523
1458
  * Do not edit the class manually.
1524
1459
  */
1525
- interface APIPublicPresentationCandidateEducationHistory {
1460
+ interface APIPublicJobCandidateCandidateWorkHistory {
1526
1461
  id: string;
1527
1462
  title: string;
1528
- institution: string;
1463
+ companyName: string;
1529
1464
  startDate: string;
1530
1465
  endDate?: string;
1466
+ descriptionBulletPoints: Array<string>;
1531
1467
  }
1532
1468
 
1533
1469
  /**
@@ -1540,7 +1476,7 @@ interface APIPublicPresentationCandidateEducationHistory {
1540
1476
  * Do not edit the class manually.
1541
1477
  */
1542
1478
 
1543
- interface APIPublicPresentationCandidate {
1479
+ interface APIPublicJobCandidateCandidate {
1544
1480
  id: string;
1545
1481
  fullName?: string;
1546
1482
  role: string;
@@ -1552,23 +1488,8 @@ interface APIPublicPresentationCandidate {
1552
1488
  summary: string;
1553
1489
  topSkills: Array<string>;
1554
1490
  certifications: Array<string>;
1555
- workHistory: Array<APIPublicPresentationCandidateWorkHistory>;
1556
- educationHistory: Array<APIPublicPresentationCandidateEducationHistory>;
1557
- }
1558
-
1559
- /**
1560
- * ViewCandidate API
1561
- *
1562
- *
1563
- *
1564
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1565
- * https://openapi-generator.tech
1566
- * Do not edit the class manually.
1567
- */
1568
- interface APIPublicPresentationOrganisation {
1569
- name: string;
1570
- brandColour?: string | null;
1571
- logoUrl?: string;
1491
+ workHistory: Array<APIPublicJobCandidateCandidateWorkHistory>;
1492
+ educationHistory: Array<APIPublicJobCandidateCandidateEducationHistory>;
1572
1493
  }
1573
1494
 
1574
1495
  /**
@@ -1581,12 +1502,13 @@ interface APIPublicPresentationOrganisation {
1581
1502
  * Do not edit the class manually.
1582
1503
  */
1583
1504
 
1584
- interface APIPublicPresentationWithCandidate {
1505
+ interface APIPublicJobCandidateView {
1585
1506
  id: string;
1586
1507
  linkToken: string;
1587
- jobTitle?: string;
1588
- candidate: APIPublicPresentationCandidate;
1589
- organisation: APIPublicPresentationOrganisation;
1508
+ jobTitle: string;
1509
+ stage: string;
1510
+ candidate: APIPublicJobCandidateCandidate;
1511
+ organisation: APIPublicJobCandidateOrganisation;
1590
1512
  client: APIClient;
1591
1513
  createdAt: string;
1592
1514
  }
@@ -1600,39 +1522,7 @@ interface APIPublicPresentationWithCandidate {
1600
1522
  * https://openapi-generator.tech
1601
1523
  * Do not edit the class manually.
1602
1524
  */
1603
- interface CreatePresentationDto {
1604
- /**
1605
- * ID of the candidate to present
1606
- */
1607
- candidateId: string;
1608
- /**
1609
- * ID of the client to present to
1610
- */
1611
- clientId: string;
1612
- /**
1613
- * Whether to mask the candidate name
1614
- */
1615
- maskName: boolean;
1616
- /**
1617
- * Whether to mask company names in work history
1618
- */
1619
- maskCompanies: boolean;
1620
- /**
1621
- * Job title for the presentation
1622
- */
1623
- jobTitle?: string;
1624
- }
1625
-
1626
- /**
1627
- * ViewCandidate API
1628
- *
1629
- *
1630
- *
1631
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1632
- * https://openapi-generator.tech
1633
- * Do not edit the class manually.
1634
- */
1635
- interface RequestInterviewDto {
1525
+ interface RequestInterviewJobCandidateDto {
1636
1526
  /**
1637
1527
  * Name of the person requesting the interview
1638
1528
  */
@@ -1647,188 +1537,87 @@ interface RequestInterviewDto {
1647
1537
  message?: string;
1648
1538
  }
1649
1539
 
1650
- /**
1651
- * ViewCandidate API
1652
- *
1653
- *
1654
- *
1655
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1656
- * https://openapi-generator.tech
1657
- * Do not edit the class manually.
1658
- */
1659
- interface UpdatePresentationDto {
1660
- /**
1661
- * Whether to mask the candidate name
1662
- */
1663
- maskName?: boolean;
1664
- /**
1665
- * Whether to mask company names in work history
1666
- */
1667
- maskCompanies?: boolean;
1668
- }
1669
-
1670
- declare class PresentationService extends BaseService {
1540
+ declare class JobCandidatePublicService extends BaseService {
1671
1541
  protected httpClient: HttpClient;
1672
1542
  constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1673
1543
  /**
1674
- * Create a new presentation
1675
- * @endpoint post /presentation
1676
- * @param createPresentationDto
1677
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1678
- * @param reportProgress flag to report request and response progress.
1679
- */
1680
- presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'body', reportProgress?: boolean, options?: {
1681
- httpHeaderAccept?: 'application/json';
1682
- context?: HttpContext;
1683
- transferCache?: boolean;
1684
- }): Observable<APIPresentation>;
1685
- presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'response', reportProgress?: boolean, options?: {
1686
- httpHeaderAccept?: 'application/json';
1687
- context?: HttpContext;
1688
- transferCache?: boolean;
1689
- }): Observable<HttpResponse<APIPresentation>>;
1690
- presentationControllerCreatePresentation(createPresentationDto: CreatePresentationDto, observe?: 'events', reportProgress?: boolean, options?: {
1691
- httpHeaderAccept?: 'application/json';
1692
- context?: HttpContext;
1693
- transferCache?: boolean;
1694
- }): Observable<HttpEvent<APIPresentation>>;
1695
- /**
1696
- * Delete a presentation
1697
- * @endpoint delete /presentation/{id}
1698
- * @param id
1699
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1700
- * @param reportProgress flag to report request and response progress.
1701
- */
1702
- presentationControllerDeletePresentation(id: string, observe?: 'body', reportProgress?: boolean, options?: {
1703
- httpHeaderAccept?: 'application/json';
1704
- context?: HttpContext;
1705
- transferCache?: boolean;
1706
- }): Observable<APIMessageResponse>;
1707
- presentationControllerDeletePresentation(id: string, observe?: 'response', reportProgress?: boolean, options?: {
1708
- httpHeaderAccept?: 'application/json';
1709
- context?: HttpContext;
1710
- transferCache?: boolean;
1711
- }): Observable<HttpResponse<APIMessageResponse>>;
1712
- presentationControllerDeletePresentation(id: string, observe?: 'events', reportProgress?: boolean, options?: {
1713
- httpHeaderAccept?: 'application/json';
1714
- context?: HttpContext;
1715
- transferCache?: boolean;
1716
- }): Observable<HttpEvent<APIMessageResponse>>;
1717
- /**
1718
- * List interview requests
1719
- * @endpoint get /presentation/interview-requests
1720
- * @param page Page number
1721
- * @param q Search by requester name or email
1722
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1723
- * @param reportProgress flag to report request and response progress.
1724
- */
1725
- presentationControllerGetInterviewRequests(page?: number, q?: string, observe?: 'body', reportProgress?: boolean, options?: {
1726
- httpHeaderAccept?: 'application/json';
1727
- context?: HttpContext;
1728
- transferCache?: boolean;
1729
- }): Observable<APIPaginatedInterviewRequestResponse>;
1730
- presentationControllerGetInterviewRequests(page?: number, q?: string, observe?: 'response', reportProgress?: boolean, options?: {
1731
- httpHeaderAccept?: 'application/json';
1732
- context?: HttpContext;
1733
- transferCache?: boolean;
1734
- }): Observable<HttpResponse<APIPaginatedInterviewRequestResponse>>;
1735
- presentationControllerGetInterviewRequests(page?: number, q?: string, observe?: 'events', reportProgress?: boolean, options?: {
1736
- httpHeaderAccept?: 'application/json';
1737
- context?: HttpContext;
1738
- transferCache?: boolean;
1739
- }): Observable<HttpEvent<APIPaginatedInterviewRequestResponse>>;
1740
- /**
1741
- * Record a presentation view (called from browser)
1742
- * @endpoint post /presentation/view/{linkToken}/record
1544
+ * Request an interview for a job candidate (public)
1545
+ * @endpoint post /job-candidates/view/{linkToken}/request-interview
1743
1546
  * @param linkToken
1547
+ * @param requestInterviewJobCandidateDto
1744
1548
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1745
1549
  * @param reportProgress flag to report request and response progress.
1746
1550
  */
1747
- presentationControllerRecordView(linkToken: string, observe?: 'body', reportProgress?: boolean, options?: {
1551
+ jobCandidatePublicControllerRequestInterview(linkToken: string, requestInterviewJobCandidateDto: RequestInterviewJobCandidateDto, observe?: 'body', reportProgress?: boolean, options?: {
1748
1552
  httpHeaderAccept?: 'application/json';
1749
1553
  context?: HttpContext;
1750
1554
  transferCache?: boolean;
1751
1555
  }): Observable<APIMessageResponse>;
1752
- presentationControllerRecordView(linkToken: string, observe?: 'response', reportProgress?: boolean, options?: {
1556
+ jobCandidatePublicControllerRequestInterview(linkToken: string, requestInterviewJobCandidateDto: RequestInterviewJobCandidateDto, observe?: 'response', reportProgress?: boolean, options?: {
1753
1557
  httpHeaderAccept?: 'application/json';
1754
1558
  context?: HttpContext;
1755
1559
  transferCache?: boolean;
1756
1560
  }): Observable<HttpResponse<APIMessageResponse>>;
1757
- presentationControllerRecordView(linkToken: string, observe?: 'events', reportProgress?: boolean, options?: {
1561
+ jobCandidatePublicControllerRequestInterview(linkToken: string, requestInterviewJobCandidateDto: RequestInterviewJobCandidateDto, observe?: 'events', reportProgress?: boolean, options?: {
1758
1562
  httpHeaderAccept?: 'application/json';
1759
1563
  context?: HttpContext;
1760
1564
  transferCache?: boolean;
1761
1565
  }): Observable<HttpEvent<APIMessageResponse>>;
1762
1566
  /**
1763
- * Request an interview (public)
1764
- * @endpoint post /presentation/{id}/request-interview
1765
- * @param id
1766
- * @param requestInterviewDto
1767
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1768
- * @param reportProgress flag to report request and response progress.
1769
- */
1770
- presentationControllerRequestInterview(id: string, requestInterviewDto: RequestInterviewDto, observe?: 'body', reportProgress?: boolean, options?: {
1771
- httpHeaderAccept?: 'application/json';
1772
- context?: HttpContext;
1773
- transferCache?: boolean;
1774
- }): Observable<APIMessageResponse>;
1775
- presentationControllerRequestInterview(id: string, requestInterviewDto: RequestInterviewDto, observe?: 'response', reportProgress?: boolean, options?: {
1776
- httpHeaderAccept?: 'application/json';
1777
- context?: HttpContext;
1778
- transferCache?: boolean;
1779
- }): Observable<HttpResponse<APIMessageResponse>>;
1780
- presentationControllerRequestInterview(id: string, requestInterviewDto: RequestInterviewDto, observe?: 'events', reportProgress?: boolean, options?: {
1781
- httpHeaderAccept?: 'application/json';
1782
- context?: HttpContext;
1783
- transferCache?: boolean;
1784
- }): Observable<HttpEvent<APIMessageResponse>>;
1785
- /**
1786
- * Update a presentation
1787
- * @endpoint patch /presentation/{id}
1788
- * @param id
1789
- * @param updatePresentationDto
1567
+ * View a job candidate by link token (public)
1568
+ * @endpoint get /job-candidates/view/{linkToken}
1569
+ * @param linkToken
1790
1570
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1791
1571
  * @param reportProgress flag to report request and response progress.
1792
1572
  */
1793
- presentationControllerUpdatePresentation(id: string, updatePresentationDto: UpdatePresentationDto, observe?: 'body', reportProgress?: boolean, options?: {
1573
+ jobCandidatePublicControllerViewJobCandidate(linkToken: string, observe?: 'body', reportProgress?: boolean, options?: {
1794
1574
  httpHeaderAccept?: 'application/json';
1795
1575
  context?: HttpContext;
1796
1576
  transferCache?: boolean;
1797
- }): Observable<APIPresentation>;
1798
- presentationControllerUpdatePresentation(id: string, updatePresentationDto: UpdatePresentationDto, observe?: 'response', reportProgress?: boolean, options?: {
1577
+ }): Observable<APIPublicJobCandidateView>;
1578
+ jobCandidatePublicControllerViewJobCandidate(linkToken: string, observe?: 'response', reportProgress?: boolean, options?: {
1799
1579
  httpHeaderAccept?: 'application/json';
1800
1580
  context?: HttpContext;
1801
1581
  transferCache?: boolean;
1802
- }): Observable<HttpResponse<APIPresentation>>;
1803
- presentationControllerUpdatePresentation(id: string, updatePresentationDto: UpdatePresentationDto, observe?: 'events', reportProgress?: boolean, options?: {
1582
+ }): Observable<HttpResponse<APIPublicJobCandidateView>>;
1583
+ jobCandidatePublicControllerViewJobCandidate(linkToken: string, observe?: 'events', reportProgress?: boolean, options?: {
1804
1584
  httpHeaderAccept?: 'application/json';
1805
1585
  context?: HttpContext;
1806
1586
  transferCache?: boolean;
1807
- }): Observable<HttpEvent<APIPresentation>>;
1587
+ }): Observable<HttpEvent<APIPublicJobCandidateView>>;
1588
+ static ɵfac: i0.ɵɵFactoryDeclaration<JobCandidatePublicService, [null, { optional: true; }, { optional: true; }]>;
1589
+ static ɵprov: i0.ɵɵInjectableDeclaration<JobCandidatePublicService>;
1590
+ }
1591
+
1592
+ declare class OrganisationService extends BaseService {
1593
+ protected httpClient: HttpClient;
1594
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
1808
1595
  /**
1809
- * View a presentation by link token (public)
1810
- * @endpoint get /presentation/view/{linkToken}
1811
- * @param linkToken
1596
+ * Update organisation branding (admin only)
1597
+ * @endpoint patch /organisation
1598
+ * @param name Organisation name
1599
+ * @param brandColour Brand colour in hex format. Send \\\&quot;DELETE\\\&quot; to remove the brand colour.
1600
+ * @param logo Logo image (PNG, JPEG, or WebP). Max 5MB. Will be resized to 400x400 max.
1812
1601
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
1813
1602
  * @param reportProgress flag to report request and response progress.
1814
1603
  */
1815
- presentationControllerViewPresentation(linkToken: string, observe?: 'body', reportProgress?: boolean, options?: {
1604
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
1816
1605
  httpHeaderAccept?: 'application/json';
1817
1606
  context?: HttpContext;
1818
1607
  transferCache?: boolean;
1819
- }): Observable<APIPublicPresentationWithCandidate>;
1820
- presentationControllerViewPresentation(linkToken: string, observe?: 'response', reportProgress?: boolean, options?: {
1608
+ }): Observable<APIOrganisation>;
1609
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
1821
1610
  httpHeaderAccept?: 'application/json';
1822
1611
  context?: HttpContext;
1823
1612
  transferCache?: boolean;
1824
- }): Observable<HttpResponse<APIPublicPresentationWithCandidate>>;
1825
- presentationControllerViewPresentation(linkToken: string, observe?: 'events', reportProgress?: boolean, options?: {
1613
+ }): Observable<HttpResponse<APIOrganisation>>;
1614
+ organisationControllerUpdateBranding(name?: string, brandColour?: string, logo?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
1826
1615
  httpHeaderAccept?: 'application/json';
1827
1616
  context?: HttpContext;
1828
1617
  transferCache?: boolean;
1829
- }): Observable<HttpEvent<APIPublicPresentationWithCandidate>>;
1830
- static ɵfac: i0.ɵɵFactoryDeclaration<PresentationService, [null, { optional: true; }, { optional: true; }]>;
1831
- static ɵprov: i0.ɵɵInjectableDeclaration<PresentationService>;
1618
+ }): Observable<HttpEvent<APIOrganisation>>;
1619
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, [null, { optional: true; }, { optional: true; }]>;
1620
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1832
1621
  }
1833
1622
 
1834
1623
  /**
@@ -1891,7 +1680,7 @@ declare class WaitlistService extends BaseService {
1891
1680
  static ɵprov: i0.ɵɵInjectableDeclaration<WaitlistService>;
1892
1681
  }
1893
1682
 
1894
- declare const APIS: (typeof AuthService | typeof CVExtractionService | typeof CandidateService | typeof ClientService | typeof HealthService | typeof JobService | typeof JobCandidateService | typeof OrganisationService | typeof PresentationService | typeof WaitlistService)[];
1683
+ declare const APIS: (typeof AuthService | typeof CVExtractionService | typeof CandidateService | typeof ClientService | typeof HealthService | typeof JobService | typeof JobCandidateService | typeof JobCandidatePublicService | typeof OrganisationService | typeof WaitlistService)[];
1895
1684
 
1896
1685
  /**
1897
1686
  * ViewCandidate API
@@ -1934,5 +1723,5 @@ declare class ViewCandidateApiModule {
1934
1723
 
1935
1724
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
1936
1725
 
1937
- export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidateService, JobService, OrganisationService, PresentationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1938
- export type { APIAuthResponse, APICandidateEducationHistory, APICandidateMeta, APICandidateWithPresentations, APICandidateWorkHistory, APIClient, APIInterviewRequest, APIJob, APIJobCandidate, APIJobCandidateStageHistory, APIMessageResponse, APIOrganisation, APIPaginatedCandidateResponse, APIPaginatedClientResponse, APIPaginatedInterviewRequestResponse, APIPaginatedJobCandidateResponse, APIPaginatedJobResponse, APIPresentation, APIPresentationWithCandidateMeta, APIPublicPresentationCandidate, APIPublicPresentationCandidateEducationHistory, APIPublicPresentationCandidateWorkHistory, APIPublicPresentationOrganisation, APIPublicPresentationWithCandidate, APIUser, APIWaitlistEntry, ConfigurationParameters, CreateClientDto, CreateJobCandidateDto, CreateJobDto, CreatePresentationDto, CreateWaitlistEntryDto, DataFormat, DataType, HealthControllerCheck200Response, HealthControllerCheck200ResponseInfoValue, HealthControllerCheck503Response, LoginDto, Param, ParamLocation, ParamStyle, RequestInterviewDto, ResendVerificationDto, SignupDto, StandardDataFormat, StandardDataType, StandardParamStyle, UpdateCandidateEducationHistoryDto, UpdateCandidateWorkHistoryDto, UpdateJobDto, UpdatePresentationDto, VerifyEmailDto };
1726
+ export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
1727
+ 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.19",
3
+ "version": "0.0.21",
4
4
  "description": "OpenAPI client for @viewcandidate/client",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {