@viewcandidate/client 0.0.20 → 0.0.22
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 +78 -267
- package/fesm2022/viewcandidate-client.mjs.map +1 -1
- package/index.d.ts +85 -275
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @viewcandidate/client@0.0.
|
|
1
|
+
# @viewcandidate/client@0.0.22
|
|
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.22
|
|
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.22 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1468,13 +1468,16 @@ 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
|
-
|
|
1477
|
+
jobCandidatePublicControllerRecordView(linkToken, observe = 'body', reportProgress = false, options) {
|
|
1478
|
+
if (linkToken === null || linkToken === undefined) {
|
|
1479
|
+
throw new Error('Required parameter linkToken was null or undefined when calling jobCandidatePublicControllerRecordView.');
|
|
1480
|
+
}
|
|
1478
1481
|
let localVarHeaders = this.defaultHeaders;
|
|
1479
1482
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1480
1483
|
'application/json'
|
|
@@ -1484,32 +1487,6 @@ class OrganisationService extends BaseService {
|
|
|
1484
1487
|
}
|
|
1485
1488
|
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1486
1489
|
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;
|
|
1512
|
-
}
|
|
1513
1490
|
let responseType_ = 'json';
|
|
1514
1491
|
if (localVarHttpHeaderAcceptSelected) {
|
|
1515
1492
|
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
@@ -1522,11 +1499,10 @@ class OrganisationService extends BaseService {
|
|
|
1522
1499
|
responseType_ = 'blob';
|
|
1523
1500
|
}
|
|
1524
1501
|
}
|
|
1525
|
-
let localVarPath = `/
|
|
1502
|
+
let localVarPath = `/job-candidates/view/${this.configuration.encodeParam({ name: "linkToken", value: linkToken, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/record`;
|
|
1526
1503
|
const { basePath, withCredentials } = this.configuration;
|
|
1527
|
-
return this.httpClient.request('
|
|
1504
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1528
1505
|
context: localVarHttpContext,
|
|
1529
|
-
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
1530
1506
|
responseType: responseType_,
|
|
1531
1507
|
...(withCredentials ? { withCredentials } : {}),
|
|
1532
1508
|
headers: localVarHeaders,
|
|
@@ -1535,42 +1511,12 @@ class OrganisationService extends BaseService {
|
|
|
1535
1511
|
reportProgress: reportProgress
|
|
1536
1512
|
});
|
|
1537
1513
|
}
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
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.');
|
|
1514
|
+
jobCandidatePublicControllerRequestInterview(linkToken, requestInterviewJobCandidateDto, observe = 'body', reportProgress = false, options) {
|
|
1515
|
+
if (linkToken === null || linkToken === undefined) {
|
|
1516
|
+
throw new Error('Required parameter linkToken was null or undefined when calling jobCandidatePublicControllerRequestInterview.');
|
|
1517
|
+
}
|
|
1518
|
+
if (requestInterviewJobCandidateDto === null || requestInterviewJobCandidateDto === undefined) {
|
|
1519
|
+
throw new Error('Required parameter requestInterviewJobCandidateDto was null or undefined when calling jobCandidatePublicControllerRequestInterview.');
|
|
1574
1520
|
}
|
|
1575
1521
|
let localVarHeaders = this.defaultHeaders;
|
|
1576
1522
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -1601,11 +1547,11 @@ class PresentationService extends BaseService {
|
|
|
1601
1547
|
responseType_ = 'blob';
|
|
1602
1548
|
}
|
|
1603
1549
|
}
|
|
1604
|
-
let localVarPath = `/
|
|
1550
|
+
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
1551
|
const { basePath, withCredentials } = this.configuration;
|
|
1606
1552
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
1607
1553
|
context: localVarHttpContext,
|
|
1608
|
-
body:
|
|
1554
|
+
body: requestInterviewJobCandidateDto,
|
|
1609
1555
|
responseType: responseType_,
|
|
1610
1556
|
...(withCredentials ? { withCredentials } : {}),
|
|
1611
1557
|
headers: localVarHeaders,
|
|
@@ -1614,47 +1560,10 @@ class PresentationService extends BaseService {
|
|
|
1614
1560
|
reportProgress: reportProgress
|
|
1615
1561
|
});
|
|
1616
1562
|
}
|
|
1617
|
-
|
|
1618
|
-
if (
|
|
1619
|
-
throw new Error('Required parameter
|
|
1620
|
-
}
|
|
1621
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1622
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1623
|
-
'application/json'
|
|
1624
|
-
]);
|
|
1625
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1626
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1627
|
-
}
|
|
1628
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1629
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1630
|
-
let responseType_ = 'json';
|
|
1631
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1632
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1633
|
-
responseType_ = 'text';
|
|
1634
|
-
}
|
|
1635
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1636
|
-
responseType_ = 'json';
|
|
1637
|
-
}
|
|
1638
|
-
else {
|
|
1639
|
-
responseType_ = 'blob';
|
|
1640
|
-
}
|
|
1563
|
+
jobCandidatePublicControllerViewJobCandidate(linkToken, observe = 'body', reportProgress = false, options) {
|
|
1564
|
+
if (linkToken === null || linkToken === undefined) {
|
|
1565
|
+
throw new Error('Required parameter linkToken was null or undefined when calling jobCandidatePublicControllerViewJobCandidate.');
|
|
1641
1566
|
}
|
|
1642
|
-
let localVarPath = `/presentation/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
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
1567
|
let localVarHeaders = this.defaultHeaders;
|
|
1659
1568
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1660
1569
|
'application/json'
|
|
@@ -1676,11 +1585,10 @@ class PresentationService extends BaseService {
|
|
|
1676
1585
|
responseType_ = 'blob';
|
|
1677
1586
|
}
|
|
1678
1587
|
}
|
|
1679
|
-
let localVarPath = `/
|
|
1588
|
+
let localVarPath = `/job-candidates/view/${this.configuration.encodeParam({ name: "linkToken", value: linkToken, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1680
1589
|
const { basePath, withCredentials } = this.configuration;
|
|
1681
1590
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1682
1591
|
context: localVarHttpContext,
|
|
1683
|
-
params: localVarQueryParameters,
|
|
1684
1592
|
responseType: responseType_,
|
|
1685
1593
|
...(withCredentials ? { withCredentials } : {}),
|
|
1686
1594
|
headers: localVarHeaders,
|
|
@@ -1689,50 +1597,40 @@ class PresentationService extends BaseService {
|
|
|
1689
1597
|
reportProgress: reportProgress
|
|
1690
1598
|
});
|
|
1691
1599
|
}
|
|
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
|
-
});
|
|
1600
|
+
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 });
|
|
1601
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidatePublicService, providedIn: 'root' });
|
|
1602
|
+
}
|
|
1603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: JobCandidatePublicService, decorators: [{
|
|
1604
|
+
type: Injectable,
|
|
1605
|
+
args: [{
|
|
1606
|
+
providedIn: 'root'
|
|
1607
|
+
}]
|
|
1608
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1609
|
+
type: Optional
|
|
1610
|
+
}, {
|
|
1611
|
+
type: Inject,
|
|
1612
|
+
args: [BASE_PATH]
|
|
1613
|
+
}] }, { type: Configuration, decorators: [{
|
|
1614
|
+
type: Optional
|
|
1615
|
+
}] }] });
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* ViewCandidate API
|
|
1619
|
+
*
|
|
1620
|
+
*
|
|
1621
|
+
*
|
|
1622
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1623
|
+
* https://openapi-generator.tech
|
|
1624
|
+
* Do not edit the class manually.
|
|
1625
|
+
*/
|
|
1626
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
1627
|
+
class OrganisationService extends BaseService {
|
|
1628
|
+
httpClient;
|
|
1629
|
+
constructor(httpClient, basePath, configuration) {
|
|
1630
|
+
super(basePath, configuration);
|
|
1631
|
+
this.httpClient = httpClient;
|
|
1728
1632
|
}
|
|
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
|
-
}
|
|
1633
|
+
organisationControllerUpdateBranding(name, brandColour, logo, observe = 'body', reportProgress = false, options) {
|
|
1736
1634
|
let localVarHeaders = this.defaultHeaders;
|
|
1737
1635
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1738
1636
|
'application/json'
|
|
@@ -1744,60 +1642,29 @@ class PresentationService extends BaseService {
|
|
|
1744
1642
|
const localVarTransferCache = options?.transferCache ?? true;
|
|
1745
1643
|
// to determine the Content-Type header
|
|
1746
1644
|
const consumes = [
|
|
1747
|
-
'
|
|
1645
|
+
'multipart/form-data'
|
|
1748
1646
|
];
|
|
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
|
-
}
|
|
1647
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
1648
|
+
let localVarFormParams;
|
|
1649
|
+
let localVarUseForm = false;
|
|
1650
|
+
let localVarConvertFormParamsToString = false;
|
|
1651
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
1652
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
1653
|
+
localVarUseForm = canConsumeForm;
|
|
1654
|
+
if (localVarUseForm) {
|
|
1655
|
+
localVarFormParams = new FormData();
|
|
1764
1656
|
}
|
|
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.');
|
|
1657
|
+
else {
|
|
1658
|
+
localVarFormParams = new HttpParams({ encoder: this.encoder });
|
|
1781
1659
|
}
|
|
1782
|
-
if (
|
|
1783
|
-
|
|
1660
|
+
if (name !== undefined) {
|
|
1661
|
+
localVarFormParams = localVarFormParams.append('name', name) || localVarFormParams;
|
|
1784
1662
|
}
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
'application/json'
|
|
1788
|
-
]);
|
|
1789
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1790
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1663
|
+
if (brandColour !== undefined) {
|
|
1664
|
+
localVarFormParams = localVarFormParams.append('brandColour', brandColour) || localVarFormParams;
|
|
1791
1665
|
}
|
|
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);
|
|
1666
|
+
if (logo !== undefined) {
|
|
1667
|
+
localVarFormParams = localVarFormParams.append('logo', logo) || localVarFormParams;
|
|
1801
1668
|
}
|
|
1802
1669
|
let responseType_ = 'json';
|
|
1803
1670
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -1811,48 +1678,11 @@ class PresentationService extends BaseService {
|
|
|
1811
1678
|
responseType_ = 'blob';
|
|
1812
1679
|
}
|
|
1813
1680
|
}
|
|
1814
|
-
let localVarPath = `/
|
|
1681
|
+
let localVarPath = `/organisation`;
|
|
1815
1682
|
const { basePath, withCredentials } = this.configuration;
|
|
1816
1683
|
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
1817
1684
|
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,
|
|
1685
|
+
body: localVarConvertFormParamsToString ? localVarFormParams.toString() : localVarFormParams,
|
|
1856
1686
|
responseType: responseType_,
|
|
1857
1687
|
...(withCredentials ? { withCredentials } : {}),
|
|
1858
1688
|
headers: localVarHeaders,
|
|
@@ -1861,10 +1691,10 @@ class PresentationService extends BaseService {
|
|
|
1861
1691
|
reportProgress: reportProgress
|
|
1862
1692
|
});
|
|
1863
1693
|
}
|
|
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:
|
|
1694
|
+
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 });
|
|
1695
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, providedIn: 'root' });
|
|
1866
1696
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type:
|
|
1697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: OrganisationService, decorators: [{
|
|
1868
1698
|
type: Injectable,
|
|
1869
1699
|
args: [{
|
|
1870
1700
|
providedIn: 'root'
|
|
@@ -1957,17 +1787,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImpor
|
|
|
1957
1787
|
type: Optional
|
|
1958
1788
|
}] }] });
|
|
1959
1789
|
|
|
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
|
-
*/
|
|
1790
|
+
const APIS = [AuthService, CVExtractionService, CandidateService, ClientService, HealthService, JobService, JobCandidateService, JobCandidatePublicService, OrganisationService, WaitlistService];
|
|
1971
1791
|
|
|
1972
1792
|
/**
|
|
1973
1793
|
* ViewCandidate API
|
|
@@ -2249,6 +2069,7 @@ var UpdateJobCandidateDto;
|
|
|
2249
2069
|
UpdateJobCandidateDto.StageEnum = {
|
|
2250
2070
|
Screening: 'screening',
|
|
2251
2071
|
Presented: 'presented',
|
|
2072
|
+
InterviewRequested: 'interview_requested',
|
|
2252
2073
|
Interviewing: 'interviewing',
|
|
2253
2074
|
Placed: 'placed'
|
|
2254
2075
|
};
|
|
@@ -2278,16 +2099,6 @@ var UpdateJobCandidateDto;
|
|
|
2278
2099
|
* Do not edit the class manually.
|
|
2279
2100
|
*/
|
|
2280
2101
|
|
|
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
2102
|
class ViewCandidateApiModule {
|
|
2292
2103
|
static forRoot(configurationFactory) {
|
|
2293
2104
|
return {
|
|
@@ -2340,5 +2151,5 @@ function provideApi(configOrBasePath) {
|
|
|
2340
2151
|
* Generated bundle index. Do not edit.
|
|
2341
2152
|
*/
|
|
2342
2153
|
|
|
2343
|
-
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidateService, JobService, OrganisationService,
|
|
2154
|
+
export { APIS, AuthService, BASE_PATH, COLLECTION_FORMATS, CVExtractionService, CandidateService, ClientService, Configuration, HealthService, JobCandidatePublicService, JobCandidateService, JobService, OrganisationService, UpdateCandidateDto, UpdateCandidateLanguageDto, UpdateJobCandidateDto, ViewCandidateApiModule, WaitlistService, provideApi };
|
|
2344
2155
|
//# sourceMappingURL=viewcandidate-client.mjs.map
|