@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/README.md +3 -3
- package/fesm2022/viewcandidate-client.mjs +71 -297
- package/fesm2022/viewcandidate-client.mjs.map +1 -1
- package/index.d.ts +79 -291
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @viewcandidate/client@0.0.
|
|
1
|
+
# @viewcandidate/client@0.0.21
|
|
2
2
|
|
|
3
3
|
The ViewCandidate API
|
|
4
4
|
|
|
5
|
-
The version of the OpenAPI document: 0.0.
|
|
5
|
+
The version of the OpenAPI document: 0.0.21
|
|
6
6
|
|
|
7
7
|
## Building
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @viewcandidate/client@0.0.
|
|
27
|
+
npm install @viewcandidate/client@0.0.21 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1468,109 +1468,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
|
|
|
1468
1468
|
* Do not edit the class manually.
|
|
1469
1469
|
*/
|
|
1470
1470
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
1471
|
-
class
|
|
1471
|
+
class JobCandidatePublicService extends BaseService {
|
|
1472
1472
|
httpClient;
|
|
1473
1473
|
constructor(httpClient, basePath, configuration) {
|
|
1474
1474
|
super(basePath, configuration);
|
|
1475
1475
|
this.httpClient = httpClient;
|
|
1476
1476
|
}
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
'application/json'
|
|
1481
|
-
]);
|
|
1482
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1483
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1484
|
-
}
|
|
1485
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1486
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1487
|
-
// to determine the Content-Type header
|
|
1488
|
-
const consumes = [
|
|
1489
|
-
'multipart/form-data'
|
|
1490
|
-
];
|
|
1491
|
-
const canConsumeForm = this.canConsumeForm(consumes);
|
|
1492
|
-
let localVarFormParams;
|
|
1493
|
-
let localVarUseForm = false;
|
|
1494
|
-
let localVarConvertFormParamsToString = false;
|
|
1495
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
1496
|
-
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
1497
|
-
localVarUseForm = canConsumeForm;
|
|
1498
|
-
if (localVarUseForm) {
|
|
1499
|
-
localVarFormParams = new FormData();
|
|
1500
|
-
}
|
|
1501
|
-
else {
|
|
1502
|
-
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
1503
|
-
}
|
|
1504
|
-
if (name !== undefined) {
|
|
1505
|
-
localVarFormParams = localVarFormParams.append('name', name) || localVarFormParams;
|
|
1506
|
-
}
|
|
1507
|
-
if (brandColour !== undefined) {
|
|
1508
|
-
localVarFormParams = localVarFormParams.append('brandColour', brandColour) || localVarFormParams;
|
|
1509
|
-
}
|
|
1510
|
-
if (logo !== undefined) {
|
|
1511
|
-
localVarFormParams = localVarFormParams.append('logo', logo) || localVarFormParams;
|
|
1477
|
+
jobCandidatePublicControllerRequestInterview(linkToken, requestInterviewJobCandidateDto, observe = 'body', reportProgress = false, options) {
|
|
1478
|
+
if (linkToken === null || linkToken === undefined) {
|
|
1479
|
+
throw new Error('Required parameter linkToken was null or undefined when calling jobCandidatePublicControllerRequestInterview.');
|
|
1512
1480
|
}
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1516
|
-
responseType_ = 'text';
|
|
1517
|
-
}
|
|
1518
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1519
|
-
responseType_ = 'json';
|
|
1520
|
-
}
|
|
1521
|
-
else {
|
|
1522
|
-
responseType_ = 'blob';
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
let localVarPath = `/organisation`;
|
|
1526
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1527
|
-
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1528
|
-
context: localVarHttpContext,
|
|
1529
|
-
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
1530
|
-
responseType: responseType_,
|
|
1531
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1532
|
-
headers: localVarHeaders,
|
|
1533
|
-
observe: observe,
|
|
1534
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1535
|
-
reportProgress: reportProgress
|
|
1536
|
-
});
|
|
1537
|
-
}
|
|
1538
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1539
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, providedIn: 'root' });
|
|
1540
|
-
}
|
|
1541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, decorators: [{
|
|
1542
|
-
type: Injectable,
|
|
1543
|
-
args: [{
|
|
1544
|
-
providedIn: 'root'
|
|
1545
|
-
}]
|
|
1546
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1547
|
-
type: Optional
|
|
1548
|
-
}, {
|
|
1549
|
-
type: Inject,
|
|
1550
|
-
args: [BASE_PATH]
|
|
1551
|
-
}] }, { type: Configuration, decorators: [{
|
|
1552
|
-
type: Optional
|
|
1553
|
-
}] }] });
|
|
1554
|
-
|
|
1555
|
-
/**
|
|
1556
|
-
* ViewCandidate API
|
|
1557
|
-
*
|
|
1558
|
-
*
|
|
1559
|
-
*
|
|
1560
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1561
|
-
* https://openapi-generator.tech
|
|
1562
|
-
* Do not edit the class manually.
|
|
1563
|
-
*/
|
|
1564
|
-
/* tslint:disable:no-unused-variable member-ordering */
|
|
1565
|
-
class PresentationService extends BaseService {
|
|
1566
|
-
httpClient;
|
|
1567
|
-
constructor(httpClient, basePath, configuration) {
|
|
1568
|
-
super(basePath, configuration);
|
|
1569
|
-
this.httpClient = httpClient;
|
|
1570
|
-
}
|
|
1571
|
-
presentationControllerCreatePresentation(createPresentationDto, observe = 'body', reportProgress = false, options) {
|
|
1572
|
-
if (createPresentationDto === null || createPresentationDto === undefined) {
|
|
1573
|
-
throw new Error('Required parameter createPresentationDto was null or undefined when calling presentationControllerCreatePresentation.');
|
|
1481
|
+
if (requestInterviewJobCandidateDto === null || requestInterviewJobCandidateDto === undefined) {
|
|
1482
|
+
throw new Error('Required parameter requestInterviewJobCandidateDto was null or undefined when calling jobCandidatePublicControllerRequestInterview.');
|
|
1574
1483
|
}
|
|
1575
1484
|
let localVarHeaders = this.defaultHeaders;
|
|
1576
1485
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -1601,11 +1510,11 @@ class PresentationService extends BaseService {
|
|
|
1601
1510
|
responseType_ = 'blob';
|
|
1602
1511
|
}
|
|
1603
1512
|
}
|
|
1604
|
-
let localVarPath = `/
|
|
1513
|
+
let localVarPath = `/job-candidates/view/${this.configuration.encodeParam({ name: "linkToken", value: linkToken, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/request-interview`;
|
|
1605
1514
|
const { basePath, withCredentials } = this.configuration;
|
|
1606
1515
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1607
1516
|
context: localVarHttpContext,
|
|
1608
|
-
body:
|
|
1517
|
+
body: requestInterviewJobCandidateDto,
|
|
1609
1518
|
responseType: responseType_,
|
|
1610
1519
|
...(withCredentials ? { withCredentials } : {}),
|
|
1611
1520
|
headers: localVarHeaders,
|
|
@@ -1614,9 +1523,9 @@ class PresentationService extends BaseService {
|
|
|
1614
1523
|
reportProgress: reportProgress
|
|
1615
1524
|
});
|
|
1616
1525
|
}
|
|
1617
|
-
|
|
1618
|
-
if (
|
|
1619
|
-
throw new Error('Required parameter
|
|
1526
|
+
jobCandidatePublicControllerViewJobCandidate(linkToken, observe = 'body', reportProgress = false, options) {
|
|
1527
|
+
if (linkToken === null || linkToken === undefined) {
|
|
1528
|
+
throw new Error('Required parameter linkToken was null or undefined when calling jobCandidatePublicControllerViewJobCandidate.');
|
|
1620
1529
|
}
|
|
1621
1530
|
let localVarHeaders = this.defaultHeaders;
|
|
1622
1531
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -1639,48 +1548,10 @@ class PresentationService extends BaseService {
|
|
|
1639
1548
|
responseType_ = 'blob';
|
|
1640
1549
|
}
|
|
1641
1550
|
}
|
|
1642
|
-
let localVarPath = `/
|
|
1643
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1644
|
-
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
1645
|
-
context: localVarHttpContext,
|
|
1646
|
-
responseType: responseType_,
|
|
1647
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1648
|
-
headers: localVarHeaders,
|
|
1649
|
-
observe: observe,
|
|
1650
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1651
|
-
reportProgress: reportProgress
|
|
1652
|
-
});
|
|
1653
|
-
}
|
|
1654
|
-
presentationControllerGetInterviewRequests(page, q, observe = 'body', reportProgress = false, options) {
|
|
1655
|
-
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1656
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, 'page');
|
|
1657
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, q, 'q');
|
|
1658
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1659
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1660
|
-
'application/json'
|
|
1661
|
-
]);
|
|
1662
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1663
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1664
|
-
}
|
|
1665
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1666
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1667
|
-
let responseType_ = 'json';
|
|
1668
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1669
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1670
|
-
responseType_ = 'text';
|
|
1671
|
-
}
|
|
1672
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1673
|
-
responseType_ = 'json';
|
|
1674
|
-
}
|
|
1675
|
-
else {
|
|
1676
|
-
responseType_ = 'blob';
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
let localVarPath = `/presentation/interview-requests`;
|
|
1551
|
+
let localVarPath = `/job-candidates/view/${this.configuration.encodeParam({ name: "linkToken", value: linkToken, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1680
1552
|
const { basePath, withCredentials } = this.configuration;
|
|
1681
1553
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1682
1554
|
context: localVarHttpContext,
|
|
1683
|
-
params: localVarQueryParameters,
|
|
1684
1555
|
responseType: responseType_,
|
|
1685
1556
|
...(withCredentials ? { withCredentials } : {}),
|
|
1686
1557
|
headers: localVarHeaders,
|
|
@@ -1689,50 +1560,40 @@ class PresentationService extends BaseService {
|
|
|
1689
1560
|
reportProgress: reportProgress
|
|
1690
1561
|
});
|
|
1691
1562
|
}
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
observe: observe,
|
|
1725
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1726
|
-
reportProgress: reportProgress
|
|
1727
|
-
});
|
|
1563
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidatePublicService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1564
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidatePublicService, providedIn: 'root' });
|
|
1565
|
+
}
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidatePublicService, decorators: [{
|
|
1567
|
+
type: Injectable,
|
|
1568
|
+
args: [{
|
|
1569
|
+
providedIn: 'root'
|
|
1570
|
+
}]
|
|
1571
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1572
|
+
type: Optional
|
|
1573
|
+
}, {
|
|
1574
|
+
type: Inject,
|
|
1575
|
+
args: [BASE_PATH]
|
|
1576
|
+
}] }, { type: Configuration, decorators: [{
|
|
1577
|
+
type: Optional
|
|
1578
|
+
}] }] });
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* ViewCandidate API
|
|
1582
|
+
*
|
|
1583
|
+
*
|
|
1584
|
+
*
|
|
1585
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1586
|
+
* https://openapi-generator.tech
|
|
1587
|
+
* Do not edit the class manually.
|
|
1588
|
+
*/
|
|
1589
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1590
|
+
class OrganisationService extends BaseService {
|
|
1591
|
+
httpClient;
|
|
1592
|
+
constructor(httpClient, basePath, configuration) {
|
|
1593
|
+
super(basePath, configuration);
|
|
1594
|
+
this.httpClient = httpClient;
|
|
1728
1595
|
}
|
|
1729
|
-
|
|
1730
|
-
if (id === null || id === undefined) {
|
|
1731
|
-
throw new Error('Required parameter id was null or undefined when calling presentationControllerRequestInterview.');
|
|
1732
|
-
}
|
|
1733
|
-
if (requestInterviewDto === null || requestInterviewDto === undefined) {
|
|
1734
|
-
throw new Error('Required parameter requestInterviewDto was null or undefined when calling presentationControllerRequestInterview.');
|
|
1735
|
-
}
|
|
1596
|
+
organisationControllerUpdateBranding(name, brandColour, logo, observe = 'body', reportProgress = false, options) {
|
|
1736
1597
|
let localVarHeaders = this.defaultHeaders;
|
|
1737
1598
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1738
1599
|
'application/json'
|
|
@@ -1744,60 +1605,29 @@ class PresentationService extends BaseService {
|
|
|
1744
1605
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1745
1606
|
// to determine the Content-Type header
|
|
1746
1607
|
const consumes = [
|
|
1747
|
-
'
|
|
1608
|
+
'multipart/form-data'
|
|
1748
1609
|
];
|
|
1749
|
-
const
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1759
|
-
responseType_ = 'json';
|
|
1760
|
-
}
|
|
1761
|
-
else {
|
|
1762
|
-
responseType_ = 'blob';
|
|
1763
|
-
}
|
|
1610
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
1611
|
+
let localVarFormParams;
|
|
1612
|
+
let localVarUseForm = false;
|
|
1613
|
+
let localVarConvertFormParamsToString = false;
|
|
1614
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
1615
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
1616
|
+
localVarUseForm = canConsumeForm;
|
|
1617
|
+
if (localVarUseForm) {
|
|
1618
|
+
localVarFormParams = new FormData();
|
|
1764
1619
|
}
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1768
|
-
context: localVarHttpContext,
|
|
1769
|
-
body: requestInterviewDto,
|
|
1770
|
-
responseType: responseType_,
|
|
1771
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1772
|
-
headers: localVarHeaders,
|
|
1773
|
-
observe: observe,
|
|
1774
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1775
|
-
reportProgress: reportProgress
|
|
1776
|
-
});
|
|
1777
|
-
}
|
|
1778
|
-
presentationControllerUpdatePresentation(id, updatePresentationDto, observe = 'body', reportProgress = false, options) {
|
|
1779
|
-
if (id === null || id === undefined) {
|
|
1780
|
-
throw new Error('Required parameter id was null or undefined when calling presentationControllerUpdatePresentation.');
|
|
1620
|
+
else {
|
|
1621
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
1781
1622
|
}
|
|
1782
|
-
if (
|
|
1783
|
-
|
|
1623
|
+
if (name !== undefined) {
|
|
1624
|
+
localVarFormParams = localVarFormParams.append('name', name) || localVarFormParams;
|
|
1784
1625
|
}
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
'application/json'
|
|
1788
|
-
]);
|
|
1789
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1790
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1626
|
+
if (brandColour !== undefined) {
|
|
1627
|
+
localVarFormParams = localVarFormParams.append('brandColour', brandColour) || localVarFormParams;
|
|
1791
1628
|
}
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
// to determine the Content-Type header
|
|
1795
|
-
const consumes = [
|
|
1796
|
-
'application/json'
|
|
1797
|
-
];
|
|
1798
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1799
|
-
if (httpContentTypeSelected !== undefined) {
|
|
1800
|
-
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
1629
|
+
if (logo !== undefined) {
|
|
1630
|
+
localVarFormParams = localVarFormParams.append('logo', logo) || localVarFormParams;
|
|
1801
1631
|
}
|
|
1802
1632
|
let responseType_ = 'json';
|
|
1803
1633
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -1811,48 +1641,11 @@ class PresentationService extends BaseService {
|
|
|
1811
1641
|
responseType_ = 'blob';
|
|
1812
1642
|
}
|
|
1813
1643
|
}
|
|
1814
|
-
let localVarPath = `/
|
|
1644
|
+
let localVarPath = `/organisation`;
|
|
1815
1645
|
const { basePath, withCredentials } = this.configuration;
|
|
1816
1646
|
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1817
1647
|
context: localVarHttpContext,
|
|
1818
|
-
body:
|
|
1819
|
-
responseType: responseType_,
|
|
1820
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1821
|
-
headers: localVarHeaders,
|
|
1822
|
-
observe: observe,
|
|
1823
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1824
|
-
reportProgress: reportProgress
|
|
1825
|
-
});
|
|
1826
|
-
}
|
|
1827
|
-
presentationControllerViewPresentation(linkToken, observe = 'body', reportProgress = false, options) {
|
|
1828
|
-
if (linkToken === null || linkToken === undefined) {
|
|
1829
|
-
throw new Error('Required parameter linkToken was null or undefined when calling presentationControllerViewPresentation.');
|
|
1830
|
-
}
|
|
1831
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1832
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1833
|
-
'application/json'
|
|
1834
|
-
]);
|
|
1835
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1836
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1837
|
-
}
|
|
1838
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1839
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1840
|
-
let responseType_ = 'json';
|
|
1841
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1842
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1843
|
-
responseType_ = 'text';
|
|
1844
|
-
}
|
|
1845
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1846
|
-
responseType_ = 'json';
|
|
1847
|
-
}
|
|
1848
|
-
else {
|
|
1849
|
-
responseType_ = 'blob';
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
let localVarPath = `/presentation/view/${this.configuration.encodeParam({ name: "linkToken", value: linkToken, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1853
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1854
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1855
|
-
context: localVarHttpContext,
|
|
1648
|
+
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
1856
1649
|
responseType: responseType_,
|
|
1857
1650
|
...(withCredentials ? { withCredentials } : {}),
|
|
1858
1651
|
headers: localVarHeaders,
|
|
@@ -1861,10 +1654,10 @@ class PresentationService extends BaseService {
|
|
|
1861
1654
|
reportProgress: reportProgress
|
|
1862
1655
|
});
|
|
1863
1656
|
}
|
|
1864
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type:
|
|
1865
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type:
|
|
1657
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1658
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, providedIn: 'root' });
|
|
1866
1659
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type:
|
|
1660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, decorators: [{
|
|
1868
1661
|
type: Injectable,
|
|
1869
1662
|
args: [{
|
|
1870
1663
|
providedIn: 'root'
|
|
@@ -1957,17 +1750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
|
|
|
1957
1750
|
type: Optional
|
|
1958
1751
|
}] }] });
|
|
1959
1752
|
|
|
1960
|
-
const APIS = [AuthService, CVExtractionService, CandidateService, ClientService, HealthService, JobService, JobCandidateService,
|
|
1961
|
-
|
|
1962
|
-
/**
|
|
1963
|
-
* ViewCandidate API
|
|
1964
|
-
*
|
|
1965
|
-
*
|
|
1966
|
-
*
|
|
1967
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1968
|
-
* https://openapi-generator.tech
|
|
1969
|
-
* Do not edit the class manually.
|
|
1970
|
-
*/
|
|
1753
|
+
const APIS = [AuthService, CVExtractionService, CandidateService, ClientService, HealthService, JobService, JobCandidateService, JobCandidatePublicService, OrganisationService, WaitlistService];
|
|
1971
1754
|
|
|
1972
1755
|
/**
|
|
1973
1756
|
* ViewCandidate API
|
|
@@ -2249,6 +2032,7 @@ var UpdateJobCandidateDto;
|
|
|
2249
2032
|
UpdateJobCandidateDto.StageEnum = {
|
|
2250
2033
|
Screening: 'screening',
|
|
2251
2034
|
Presented: 'presented',
|
|
2035
|
+
InterviewRequested: 'interview_requested',
|
|
2252
2036
|
Interviewing: 'interviewing',
|
|
2253
2037
|
Placed: 'placed'
|
|
2254
2038
|
};
|
|
@@ -2278,16 +2062,6 @@ var UpdateJobCandidateDto;
|
|
|
2278
2062
|
* Do not edit the class manually.
|
|
2279
2063
|
*/
|
|
2280
2064
|
|
|
2281
|
-
/**
|
|
2282
|
-
* ViewCandidate API
|
|
2283
|
-
*
|
|
2284
|
-
*
|
|
2285
|
-
*
|
|
2286
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2287
|
-
* https://openapi-generator.tech
|
|
2288
|
-
* Do not edit the class manually.
|
|
2289
|
-
*/
|
|
2290
|
-
|
|
2291
2065
|
class ViewCandidateApiModule {
|
|
2292
2066
|
static forRoot(configurationFactory) {
|
|
2293
2067
|
return {
|
|
@@ -2340,5 +2114,5 @@ function provideApi(configOrBasePath) {
|
|
|
2340
2114
|
* Generated bundle index. Do not edit.
|
|
2341
2115
|
*/
|
|
2342
2116
|
|
|
2343
|
-
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidateService, JobService, OrganisationService,
|
|
2117
|
+
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
|
|
2344
2118
|
//# sourceMappingURL=viewcandidate-client.mjs.map
|