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