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