@goauthentik/api 2024.2.2-1712833564 → 2024.2.2-1712922569
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/apis/AdminApi.js +60 -20
- package/dist/apis/AuthenticatorsApi.js +372 -124
- package/dist/apis/CoreApi.js +372 -124
- package/dist/apis/CryptoApi.js +60 -20
- package/dist/apis/EnterpriseApi.js +60 -20
- package/dist/apis/EventsApi.js +210 -70
- package/dist/apis/FlowsApi.js +150 -50
- package/dist/apis/ManagedApi.js +54 -18
- package/dist/apis/Oauth2Api.js +72 -24
- package/dist/apis/OutpostsApi.js +210 -70
- package/dist/apis/PoliciesApi.js +366 -122
- package/dist/apis/PropertymappingsApi.js +288 -96
- package/dist/apis/ProvidersApi.js +360 -120
- package/dist/apis/RacApi.js +78 -26
- package/dist/apis/RbacApi.js +102 -34
- package/dist/apis/RootApi.js +6 -2
- package/dist/apis/SchemaApi.js +6 -2
- package/dist/apis/SourcesApi.js +414 -138
- package/dist/apis/StagesApi.js +1002 -334
- package/dist/esm/apis/AdminApi.js +60 -20
- package/dist/esm/apis/AuthenticatorsApi.js +372 -124
- package/dist/esm/apis/CoreApi.js +372 -124
- package/dist/esm/apis/CryptoApi.js +60 -20
- package/dist/esm/apis/EnterpriseApi.js +60 -20
- package/dist/esm/apis/EventsApi.js +210 -70
- package/dist/esm/apis/FlowsApi.js +150 -50
- package/dist/esm/apis/ManagedApi.js +54 -18
- package/dist/esm/apis/Oauth2Api.js +72 -24
- package/dist/esm/apis/OutpostsApi.js +210 -70
- package/dist/esm/apis/PoliciesApi.js +366 -122
- package/dist/esm/apis/PropertymappingsApi.js +288 -96
- package/dist/esm/apis/ProvidersApi.js +360 -120
- package/dist/esm/apis/RacApi.js +78 -26
- package/dist/esm/apis/RbacApi.js +102 -34
- package/dist/esm/apis/RootApi.js +6 -2
- package/dist/esm/apis/SchemaApi.js +6 -2
- package/dist/esm/apis/SourcesApi.js +414 -138
- package/dist/esm/apis/StagesApi.js +1002 -334
- package/dist/esm/models/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/esm/models/AuthenticatorValidateStage.js +5 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/models/AuthenticatorValidateStage.js +5 -0
- package/dist/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +70 -30
- package/src/apis/AuthenticatorsApi.ts +434 -186
- package/src/apis/CoreApi.ts +434 -186
- package/src/apis/CryptoApi.ts +70 -30
- package/src/apis/EnterpriseApi.ts +70 -30
- package/src/apis/EventsApi.ts +245 -105
- package/src/apis/FlowsApi.ts +175 -75
- package/src/apis/ManagedApi.ts +63 -27
- package/src/apis/Oauth2Api.ts +84 -36
- package/src/apis/OutpostsApi.ts +245 -105
- package/src/apis/PoliciesApi.ts +427 -183
- package/src/apis/PropertymappingsApi.ts +336 -144
- package/src/apis/ProvidersApi.ts +420 -180
- package/src/apis/RacApi.ts +91 -39
- package/src/apis/RbacApi.ts +119 -51
- package/src/apis/RootApi.ts +7 -3
- package/src/apis/SchemaApi.ts +7 -3
- package/src/apis/SourcesApi.ts +483 -207
- package/src/apis/StagesApi.ts +1169 -501
- package/src/models/AuthenticatorValidateStage.ts +22 -0
- package/src/models/AuthenticatorValidateStageRequest.ts +8 -0
- package/src/models/PatchedAuthenticatorValidateStageRequest.ts +8 -0
package/src/apis/StagesApi.ts
CHANGED
@@ -1229,10 +1229,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1229
1229
|
|
1230
1230
|
const headerParameters: runtime.HTTPHeaders = {};
|
1231
1231
|
|
1232
|
-
if (this.configuration && this.configuration.
|
1233
|
-
|
1234
|
-
|
1232
|
+
if (this.configuration && this.configuration.accessToken) {
|
1233
|
+
const token = this.configuration.accessToken;
|
1234
|
+
const tokenString = await token("authentik", []);
|
1235
1235
|
|
1236
|
+
if (tokenString) {
|
1237
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1238
|
+
}
|
1239
|
+
}
|
1236
1240
|
const response = await this.request({
|
1237
1241
|
path: `/stages/all/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1238
1242
|
method: 'DELETE',
|
@@ -1278,10 +1282,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1278
1282
|
|
1279
1283
|
const headerParameters: runtime.HTTPHeaders = {};
|
1280
1284
|
|
1281
|
-
if (this.configuration && this.configuration.
|
1282
|
-
|
1283
|
-
|
1285
|
+
if (this.configuration && this.configuration.accessToken) {
|
1286
|
+
const token = this.configuration.accessToken;
|
1287
|
+
const tokenString = await token("authentik", []);
|
1284
1288
|
|
1289
|
+
if (tokenString) {
|
1290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1291
|
+
}
|
1292
|
+
}
|
1285
1293
|
const response = await this.request({
|
1286
1294
|
path: `/stages/all/`,
|
1287
1295
|
method: 'GET',
|
@@ -1312,10 +1320,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1312
1320
|
|
1313
1321
|
const headerParameters: runtime.HTTPHeaders = {};
|
1314
1322
|
|
1315
|
-
if (this.configuration && this.configuration.
|
1316
|
-
|
1317
|
-
|
1323
|
+
if (this.configuration && this.configuration.accessToken) {
|
1324
|
+
const token = this.configuration.accessToken;
|
1325
|
+
const tokenString = await token("authentik", []);
|
1318
1326
|
|
1327
|
+
if (tokenString) {
|
1328
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1329
|
+
}
|
1330
|
+
}
|
1319
1331
|
const response = await this.request({
|
1320
1332
|
path: `/stages/all/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1321
1333
|
method: 'GET',
|
@@ -1342,10 +1354,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1342
1354
|
|
1343
1355
|
const headerParameters: runtime.HTTPHeaders = {};
|
1344
1356
|
|
1345
|
-
if (this.configuration && this.configuration.
|
1346
|
-
|
1347
|
-
|
1357
|
+
if (this.configuration && this.configuration.accessToken) {
|
1358
|
+
const token = this.configuration.accessToken;
|
1359
|
+
const tokenString = await token("authentik", []);
|
1348
1360
|
|
1361
|
+
if (tokenString) {
|
1362
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1363
|
+
}
|
1364
|
+
}
|
1349
1365
|
const response = await this.request({
|
1350
1366
|
path: `/stages/all/types/`,
|
1351
1367
|
method: 'GET',
|
@@ -1376,10 +1392,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1376
1392
|
|
1377
1393
|
const headerParameters: runtime.HTTPHeaders = {};
|
1378
1394
|
|
1379
|
-
if (this.configuration && this.configuration.
|
1380
|
-
|
1381
|
-
|
1395
|
+
if (this.configuration && this.configuration.accessToken) {
|
1396
|
+
const token = this.configuration.accessToken;
|
1397
|
+
const tokenString = await token("authentik", []);
|
1382
1398
|
|
1399
|
+
if (tokenString) {
|
1400
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1401
|
+
}
|
1402
|
+
}
|
1383
1403
|
const response = await this.request({
|
1384
1404
|
path: `/stages/all/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1385
1405
|
method: 'GET',
|
@@ -1406,10 +1426,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1406
1426
|
|
1407
1427
|
const headerParameters: runtime.HTTPHeaders = {};
|
1408
1428
|
|
1409
|
-
if (this.configuration && this.configuration.
|
1410
|
-
|
1411
|
-
|
1429
|
+
if (this.configuration && this.configuration.accessToken) {
|
1430
|
+
const token = this.configuration.accessToken;
|
1431
|
+
const tokenString = await token("authentik", []);
|
1412
1432
|
|
1433
|
+
if (tokenString) {
|
1434
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1435
|
+
}
|
1436
|
+
}
|
1413
1437
|
const response = await this.request({
|
1414
1438
|
path: `/stages/all/user_settings/`,
|
1415
1439
|
method: 'GET',
|
@@ -1442,10 +1466,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1442
1466
|
|
1443
1467
|
headerParameters['Content-Type'] = 'application/json';
|
1444
1468
|
|
1445
|
-
if (this.configuration && this.configuration.
|
1446
|
-
|
1447
|
-
|
1469
|
+
if (this.configuration && this.configuration.accessToken) {
|
1470
|
+
const token = this.configuration.accessToken;
|
1471
|
+
const tokenString = await token("authentik", []);
|
1448
1472
|
|
1473
|
+
if (tokenString) {
|
1474
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1475
|
+
}
|
1476
|
+
}
|
1449
1477
|
const response = await this.request({
|
1450
1478
|
path: `/stages/authenticator/duo/`,
|
1451
1479
|
method: 'POST',
|
@@ -1477,10 +1505,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1477
1505
|
|
1478
1506
|
const headerParameters: runtime.HTTPHeaders = {};
|
1479
1507
|
|
1480
|
-
if (this.configuration && this.configuration.
|
1481
|
-
|
1482
|
-
|
1508
|
+
if (this.configuration && this.configuration.accessToken) {
|
1509
|
+
const token = this.configuration.accessToken;
|
1510
|
+
const tokenString = await token("authentik", []);
|
1483
1511
|
|
1512
|
+
if (tokenString) {
|
1513
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1514
|
+
}
|
1515
|
+
}
|
1484
1516
|
const response = await this.request({
|
1485
1517
|
path: `/stages/authenticator/duo/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1486
1518
|
method: 'DELETE',
|
@@ -1510,10 +1542,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1510
1542
|
|
1511
1543
|
const headerParameters: runtime.HTTPHeaders = {};
|
1512
1544
|
|
1513
|
-
if (this.configuration && this.configuration.
|
1514
|
-
|
1515
|
-
|
1545
|
+
if (this.configuration && this.configuration.accessToken) {
|
1546
|
+
const token = this.configuration.accessToken;
|
1547
|
+
const tokenString = await token("authentik", []);
|
1516
1548
|
|
1549
|
+
if (tokenString) {
|
1550
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1551
|
+
}
|
1552
|
+
}
|
1517
1553
|
const response = await this.request({
|
1518
1554
|
path: `/stages/authenticator/duo/{stage_uuid}/enrollment_status/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1519
1555
|
method: 'POST',
|
@@ -1550,10 +1586,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1550
1586
|
|
1551
1587
|
headerParameters['Content-Type'] = 'application/json';
|
1552
1588
|
|
1553
|
-
if (this.configuration && this.configuration.
|
1554
|
-
|
1555
|
-
|
1589
|
+
if (this.configuration && this.configuration.accessToken) {
|
1590
|
+
const token = this.configuration.accessToken;
|
1591
|
+
const tokenString = await token("authentik", []);
|
1556
1592
|
|
1593
|
+
if (tokenString) {
|
1594
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1595
|
+
}
|
1596
|
+
}
|
1557
1597
|
const response = await this.request({
|
1558
1598
|
path: `/stages/authenticator/duo/{stage_uuid}/import_device_manual/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1559
1599
|
method: 'POST',
|
@@ -1584,10 +1624,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1584
1624
|
|
1585
1625
|
const headerParameters: runtime.HTTPHeaders = {};
|
1586
1626
|
|
1587
|
-
if (this.configuration && this.configuration.
|
1588
|
-
|
1589
|
-
|
1627
|
+
if (this.configuration && this.configuration.accessToken) {
|
1628
|
+
const token = this.configuration.accessToken;
|
1629
|
+
const tokenString = await token("authentik", []);
|
1590
1630
|
|
1631
|
+
if (tokenString) {
|
1632
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1633
|
+
}
|
1634
|
+
}
|
1591
1635
|
const response = await this.request({
|
1592
1636
|
path: `/stages/authenticator/duo/{stage_uuid}/import_devices_automatic/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1593
1637
|
method: 'POST',
|
@@ -1646,10 +1690,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1646
1690
|
|
1647
1691
|
const headerParameters: runtime.HTTPHeaders = {};
|
1648
1692
|
|
1649
|
-
if (this.configuration && this.configuration.
|
1650
|
-
|
1651
|
-
|
1693
|
+
if (this.configuration && this.configuration.accessToken) {
|
1694
|
+
const token = this.configuration.accessToken;
|
1695
|
+
const tokenString = await token("authentik", []);
|
1652
1696
|
|
1697
|
+
if (tokenString) {
|
1698
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1699
|
+
}
|
1700
|
+
}
|
1653
1701
|
const response = await this.request({
|
1654
1702
|
path: `/stages/authenticator/duo/`,
|
1655
1703
|
method: 'GET',
|
@@ -1682,10 +1730,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1682
1730
|
|
1683
1731
|
headerParameters['Content-Type'] = 'application/json';
|
1684
1732
|
|
1685
|
-
if (this.configuration && this.configuration.
|
1686
|
-
|
1687
|
-
|
1733
|
+
if (this.configuration && this.configuration.accessToken) {
|
1734
|
+
const token = this.configuration.accessToken;
|
1735
|
+
const tokenString = await token("authentik", []);
|
1688
1736
|
|
1737
|
+
if (tokenString) {
|
1738
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1739
|
+
}
|
1740
|
+
}
|
1689
1741
|
const response = await this.request({
|
1690
1742
|
path: `/stages/authenticator/duo/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1691
1743
|
method: 'PATCH',
|
@@ -1717,10 +1769,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1717
1769
|
|
1718
1770
|
const headerParameters: runtime.HTTPHeaders = {};
|
1719
1771
|
|
1720
|
-
if (this.configuration && this.configuration.
|
1721
|
-
|
1722
|
-
|
1772
|
+
if (this.configuration && this.configuration.accessToken) {
|
1773
|
+
const token = this.configuration.accessToken;
|
1774
|
+
const tokenString = await token("authentik", []);
|
1723
1775
|
|
1776
|
+
if (tokenString) {
|
1777
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1778
|
+
}
|
1779
|
+
}
|
1724
1780
|
const response = await this.request({
|
1725
1781
|
path: `/stages/authenticator/duo/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1726
1782
|
method: 'GET',
|
@@ -1757,10 +1813,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1757
1813
|
|
1758
1814
|
headerParameters['Content-Type'] = 'application/json';
|
1759
1815
|
|
1760
|
-
if (this.configuration && this.configuration.
|
1761
|
-
|
1762
|
-
|
1816
|
+
if (this.configuration && this.configuration.accessToken) {
|
1817
|
+
const token = this.configuration.accessToken;
|
1818
|
+
const tokenString = await token("authentik", []);
|
1763
1819
|
|
1820
|
+
if (tokenString) {
|
1821
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1822
|
+
}
|
1823
|
+
}
|
1764
1824
|
const response = await this.request({
|
1765
1825
|
path: `/stages/authenticator/duo/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1766
1826
|
method: 'PUT',
|
@@ -1792,10 +1852,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1792
1852
|
|
1793
1853
|
const headerParameters: runtime.HTTPHeaders = {};
|
1794
1854
|
|
1795
|
-
if (this.configuration && this.configuration.
|
1796
|
-
|
1797
|
-
|
1855
|
+
if (this.configuration && this.configuration.accessToken) {
|
1856
|
+
const token = this.configuration.accessToken;
|
1857
|
+
const tokenString = await token("authentik", []);
|
1798
1858
|
|
1859
|
+
if (tokenString) {
|
1860
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1861
|
+
}
|
1862
|
+
}
|
1799
1863
|
const response = await this.request({
|
1800
1864
|
path: `/stages/authenticator/duo/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1801
1865
|
method: 'GET',
|
@@ -1828,10 +1892,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1828
1892
|
|
1829
1893
|
headerParameters['Content-Type'] = 'application/json';
|
1830
1894
|
|
1831
|
-
if (this.configuration && this.configuration.
|
1832
|
-
|
1833
|
-
|
1895
|
+
if (this.configuration && this.configuration.accessToken) {
|
1896
|
+
const token = this.configuration.accessToken;
|
1897
|
+
const tokenString = await token("authentik", []);
|
1834
1898
|
|
1899
|
+
if (tokenString) {
|
1900
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1901
|
+
}
|
1902
|
+
}
|
1835
1903
|
const response = await this.request({
|
1836
1904
|
path: `/stages/authenticator/sms/`,
|
1837
1905
|
method: 'POST',
|
@@ -1863,10 +1931,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1863
1931
|
|
1864
1932
|
const headerParameters: runtime.HTTPHeaders = {};
|
1865
1933
|
|
1866
|
-
if (this.configuration && this.configuration.
|
1867
|
-
|
1868
|
-
|
1934
|
+
if (this.configuration && this.configuration.accessToken) {
|
1935
|
+
const token = this.configuration.accessToken;
|
1936
|
+
const tokenString = await token("authentik", []);
|
1869
1937
|
|
1938
|
+
if (tokenString) {
|
1939
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1940
|
+
}
|
1941
|
+
}
|
1870
1942
|
const response = await this.request({
|
1871
1943
|
path: `/stages/authenticator/sms/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
1872
1944
|
method: 'DELETE',
|
@@ -1956,10 +2028,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1956
2028
|
|
1957
2029
|
const headerParameters: runtime.HTTPHeaders = {};
|
1958
2030
|
|
1959
|
-
if (this.configuration && this.configuration.
|
1960
|
-
|
1961
|
-
|
2031
|
+
if (this.configuration && this.configuration.accessToken) {
|
2032
|
+
const token = this.configuration.accessToken;
|
2033
|
+
const tokenString = await token("authentik", []);
|
1962
2034
|
|
2035
|
+
if (tokenString) {
|
2036
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2037
|
+
}
|
2038
|
+
}
|
1963
2039
|
const response = await this.request({
|
1964
2040
|
path: `/stages/authenticator/sms/`,
|
1965
2041
|
method: 'GET',
|
@@ -1992,10 +2068,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
1992
2068
|
|
1993
2069
|
headerParameters['Content-Type'] = 'application/json';
|
1994
2070
|
|
1995
|
-
if (this.configuration && this.configuration.
|
1996
|
-
|
1997
|
-
|
2071
|
+
if (this.configuration && this.configuration.accessToken) {
|
2072
|
+
const token = this.configuration.accessToken;
|
2073
|
+
const tokenString = await token("authentik", []);
|
1998
2074
|
|
2075
|
+
if (tokenString) {
|
2076
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2077
|
+
}
|
2078
|
+
}
|
1999
2079
|
const response = await this.request({
|
2000
2080
|
path: `/stages/authenticator/sms/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2001
2081
|
method: 'PATCH',
|
@@ -2027,10 +2107,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2027
2107
|
|
2028
2108
|
const headerParameters: runtime.HTTPHeaders = {};
|
2029
2109
|
|
2030
|
-
if (this.configuration && this.configuration.
|
2031
|
-
|
2032
|
-
|
2110
|
+
if (this.configuration && this.configuration.accessToken) {
|
2111
|
+
const token = this.configuration.accessToken;
|
2112
|
+
const tokenString = await token("authentik", []);
|
2033
2113
|
|
2114
|
+
if (tokenString) {
|
2115
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2116
|
+
}
|
2117
|
+
}
|
2034
2118
|
const response = await this.request({
|
2035
2119
|
path: `/stages/authenticator/sms/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2036
2120
|
method: 'GET',
|
@@ -2067,10 +2151,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2067
2151
|
|
2068
2152
|
headerParameters['Content-Type'] = 'application/json';
|
2069
2153
|
|
2070
|
-
if (this.configuration && this.configuration.
|
2071
|
-
|
2072
|
-
|
2154
|
+
if (this.configuration && this.configuration.accessToken) {
|
2155
|
+
const token = this.configuration.accessToken;
|
2156
|
+
const tokenString = await token("authentik", []);
|
2073
2157
|
|
2158
|
+
if (tokenString) {
|
2159
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2160
|
+
}
|
2161
|
+
}
|
2074
2162
|
const response = await this.request({
|
2075
2163
|
path: `/stages/authenticator/sms/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2076
2164
|
method: 'PUT',
|
@@ -2102,10 +2190,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2102
2190
|
|
2103
2191
|
const headerParameters: runtime.HTTPHeaders = {};
|
2104
2192
|
|
2105
|
-
if (this.configuration && this.configuration.
|
2106
|
-
|
2107
|
-
|
2193
|
+
if (this.configuration && this.configuration.accessToken) {
|
2194
|
+
const token = this.configuration.accessToken;
|
2195
|
+
const tokenString = await token("authentik", []);
|
2108
2196
|
|
2197
|
+
if (tokenString) {
|
2198
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2199
|
+
}
|
2200
|
+
}
|
2109
2201
|
const response = await this.request({
|
2110
2202
|
path: `/stages/authenticator/sms/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2111
2203
|
method: 'GET',
|
@@ -2138,10 +2230,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2138
2230
|
|
2139
2231
|
headerParameters['Content-Type'] = 'application/json';
|
2140
2232
|
|
2141
|
-
if (this.configuration && this.configuration.
|
2142
|
-
|
2143
|
-
|
2233
|
+
if (this.configuration && this.configuration.accessToken) {
|
2234
|
+
const token = this.configuration.accessToken;
|
2235
|
+
const tokenString = await token("authentik", []);
|
2144
2236
|
|
2237
|
+
if (tokenString) {
|
2238
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2239
|
+
}
|
2240
|
+
}
|
2145
2241
|
const response = await this.request({
|
2146
2242
|
path: `/stages/authenticator/static/`,
|
2147
2243
|
method: 'POST',
|
@@ -2173,10 +2269,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2173
2269
|
|
2174
2270
|
const headerParameters: runtime.HTTPHeaders = {};
|
2175
2271
|
|
2176
|
-
if (this.configuration && this.configuration.
|
2177
|
-
|
2178
|
-
|
2272
|
+
if (this.configuration && this.configuration.accessToken) {
|
2273
|
+
const token = this.configuration.accessToken;
|
2274
|
+
const tokenString = await token("authentik", []);
|
2179
2275
|
|
2276
|
+
if (tokenString) {
|
2277
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2278
|
+
}
|
2279
|
+
}
|
2180
2280
|
const response = await this.request({
|
2181
2281
|
path: `/stages/authenticator/static/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2182
2282
|
method: 'DELETE',
|
@@ -2242,10 +2342,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2242
2342
|
|
2243
2343
|
const headerParameters: runtime.HTTPHeaders = {};
|
2244
2344
|
|
2245
|
-
if (this.configuration && this.configuration.
|
2246
|
-
|
2247
|
-
|
2345
|
+
if (this.configuration && this.configuration.accessToken) {
|
2346
|
+
const token = this.configuration.accessToken;
|
2347
|
+
const tokenString = await token("authentik", []);
|
2248
2348
|
|
2349
|
+
if (tokenString) {
|
2350
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2351
|
+
}
|
2352
|
+
}
|
2249
2353
|
const response = await this.request({
|
2250
2354
|
path: `/stages/authenticator/static/`,
|
2251
2355
|
method: 'GET',
|
@@ -2278,10 +2382,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2278
2382
|
|
2279
2383
|
headerParameters['Content-Type'] = 'application/json';
|
2280
2384
|
|
2281
|
-
if (this.configuration && this.configuration.
|
2282
|
-
|
2283
|
-
|
2385
|
+
if (this.configuration && this.configuration.accessToken) {
|
2386
|
+
const token = this.configuration.accessToken;
|
2387
|
+
const tokenString = await token("authentik", []);
|
2284
2388
|
|
2389
|
+
if (tokenString) {
|
2390
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2391
|
+
}
|
2392
|
+
}
|
2285
2393
|
const response = await this.request({
|
2286
2394
|
path: `/stages/authenticator/static/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2287
2395
|
method: 'PATCH',
|
@@ -2313,10 +2421,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2313
2421
|
|
2314
2422
|
const headerParameters: runtime.HTTPHeaders = {};
|
2315
2423
|
|
2316
|
-
if (this.configuration && this.configuration.
|
2317
|
-
|
2318
|
-
|
2424
|
+
if (this.configuration && this.configuration.accessToken) {
|
2425
|
+
const token = this.configuration.accessToken;
|
2426
|
+
const tokenString = await token("authentik", []);
|
2319
2427
|
|
2428
|
+
if (tokenString) {
|
2429
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2430
|
+
}
|
2431
|
+
}
|
2320
2432
|
const response = await this.request({
|
2321
2433
|
path: `/stages/authenticator/static/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2322
2434
|
method: 'GET',
|
@@ -2353,10 +2465,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2353
2465
|
|
2354
2466
|
headerParameters['Content-Type'] = 'application/json';
|
2355
2467
|
|
2356
|
-
if (this.configuration && this.configuration.
|
2357
|
-
|
2358
|
-
|
2468
|
+
if (this.configuration && this.configuration.accessToken) {
|
2469
|
+
const token = this.configuration.accessToken;
|
2470
|
+
const tokenString = await token("authentik", []);
|
2359
2471
|
|
2472
|
+
if (tokenString) {
|
2473
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2474
|
+
}
|
2475
|
+
}
|
2360
2476
|
const response = await this.request({
|
2361
2477
|
path: `/stages/authenticator/static/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2362
2478
|
method: 'PUT',
|
@@ -2388,10 +2504,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2388
2504
|
|
2389
2505
|
const headerParameters: runtime.HTTPHeaders = {};
|
2390
2506
|
|
2391
|
-
if (this.configuration && this.configuration.
|
2392
|
-
|
2393
|
-
|
2507
|
+
if (this.configuration && this.configuration.accessToken) {
|
2508
|
+
const token = this.configuration.accessToken;
|
2509
|
+
const tokenString = await token("authentik", []);
|
2394
2510
|
|
2511
|
+
if (tokenString) {
|
2512
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2513
|
+
}
|
2514
|
+
}
|
2395
2515
|
const response = await this.request({
|
2396
2516
|
path: `/stages/authenticator/static/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2397
2517
|
method: 'GET',
|
@@ -2424,10 +2544,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2424
2544
|
|
2425
2545
|
headerParameters['Content-Type'] = 'application/json';
|
2426
2546
|
|
2427
|
-
if (this.configuration && this.configuration.
|
2428
|
-
|
2429
|
-
|
2547
|
+
if (this.configuration && this.configuration.accessToken) {
|
2548
|
+
const token = this.configuration.accessToken;
|
2549
|
+
const tokenString = await token("authentik", []);
|
2430
2550
|
|
2551
|
+
if (tokenString) {
|
2552
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2553
|
+
}
|
2554
|
+
}
|
2431
2555
|
const response = await this.request({
|
2432
2556
|
path: `/stages/authenticator/totp/`,
|
2433
2557
|
method: 'POST',
|
@@ -2459,10 +2583,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2459
2583
|
|
2460
2584
|
const headerParameters: runtime.HTTPHeaders = {};
|
2461
2585
|
|
2462
|
-
if (this.configuration && this.configuration.
|
2463
|
-
|
2464
|
-
|
2586
|
+
if (this.configuration && this.configuration.accessToken) {
|
2587
|
+
const token = this.configuration.accessToken;
|
2588
|
+
const tokenString = await token("authentik", []);
|
2465
2589
|
|
2590
|
+
if (tokenString) {
|
2591
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2592
|
+
}
|
2593
|
+
}
|
2466
2594
|
const response = await this.request({
|
2467
2595
|
path: `/stages/authenticator/totp/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2468
2596
|
method: 'DELETE',
|
@@ -2524,10 +2652,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2524
2652
|
|
2525
2653
|
const headerParameters: runtime.HTTPHeaders = {};
|
2526
2654
|
|
2527
|
-
if (this.configuration && this.configuration.
|
2528
|
-
|
2529
|
-
|
2655
|
+
if (this.configuration && this.configuration.accessToken) {
|
2656
|
+
const token = this.configuration.accessToken;
|
2657
|
+
const tokenString = await token("authentik", []);
|
2530
2658
|
|
2659
|
+
if (tokenString) {
|
2660
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2661
|
+
}
|
2662
|
+
}
|
2531
2663
|
const response = await this.request({
|
2532
2664
|
path: `/stages/authenticator/totp/`,
|
2533
2665
|
method: 'GET',
|
@@ -2560,10 +2692,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2560
2692
|
|
2561
2693
|
headerParameters['Content-Type'] = 'application/json';
|
2562
2694
|
|
2563
|
-
if (this.configuration && this.configuration.
|
2564
|
-
|
2565
|
-
|
2695
|
+
if (this.configuration && this.configuration.accessToken) {
|
2696
|
+
const token = this.configuration.accessToken;
|
2697
|
+
const tokenString = await token("authentik", []);
|
2566
2698
|
|
2699
|
+
if (tokenString) {
|
2700
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2701
|
+
}
|
2702
|
+
}
|
2567
2703
|
const response = await this.request({
|
2568
2704
|
path: `/stages/authenticator/totp/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2569
2705
|
method: 'PATCH',
|
@@ -2595,10 +2731,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2595
2731
|
|
2596
2732
|
const headerParameters: runtime.HTTPHeaders = {};
|
2597
2733
|
|
2598
|
-
if (this.configuration && this.configuration.
|
2599
|
-
|
2600
|
-
|
2734
|
+
if (this.configuration && this.configuration.accessToken) {
|
2735
|
+
const token = this.configuration.accessToken;
|
2736
|
+
const tokenString = await token("authentik", []);
|
2601
2737
|
|
2738
|
+
if (tokenString) {
|
2739
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2740
|
+
}
|
2741
|
+
}
|
2602
2742
|
const response = await this.request({
|
2603
2743
|
path: `/stages/authenticator/totp/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2604
2744
|
method: 'GET',
|
@@ -2635,10 +2775,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2635
2775
|
|
2636
2776
|
headerParameters['Content-Type'] = 'application/json';
|
2637
2777
|
|
2638
|
-
if (this.configuration && this.configuration.
|
2639
|
-
|
2640
|
-
|
2778
|
+
if (this.configuration && this.configuration.accessToken) {
|
2779
|
+
const token = this.configuration.accessToken;
|
2780
|
+
const tokenString = await token("authentik", []);
|
2641
2781
|
|
2782
|
+
if (tokenString) {
|
2783
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2784
|
+
}
|
2785
|
+
}
|
2642
2786
|
const response = await this.request({
|
2643
2787
|
path: `/stages/authenticator/totp/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2644
2788
|
method: 'PUT',
|
@@ -2670,10 +2814,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2670
2814
|
|
2671
2815
|
const headerParameters: runtime.HTTPHeaders = {};
|
2672
2816
|
|
2673
|
-
if (this.configuration && this.configuration.
|
2674
|
-
|
2675
|
-
|
2817
|
+
if (this.configuration && this.configuration.accessToken) {
|
2818
|
+
const token = this.configuration.accessToken;
|
2819
|
+
const tokenString = await token("authentik", []);
|
2676
2820
|
|
2821
|
+
if (tokenString) {
|
2822
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2823
|
+
}
|
2824
|
+
}
|
2677
2825
|
const response = await this.request({
|
2678
2826
|
path: `/stages/authenticator/totp/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2679
2827
|
method: 'GET',
|
@@ -2706,10 +2854,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2706
2854
|
|
2707
2855
|
headerParameters['Content-Type'] = 'application/json';
|
2708
2856
|
|
2709
|
-
if (this.configuration && this.configuration.
|
2710
|
-
|
2711
|
-
|
2857
|
+
if (this.configuration && this.configuration.accessToken) {
|
2858
|
+
const token = this.configuration.accessToken;
|
2859
|
+
const tokenString = await token("authentik", []);
|
2712
2860
|
|
2861
|
+
if (tokenString) {
|
2862
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2863
|
+
}
|
2864
|
+
}
|
2713
2865
|
const response = await this.request({
|
2714
2866
|
path: `/stages/authenticator/validate/`,
|
2715
2867
|
method: 'POST',
|
@@ -2741,10 +2893,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2741
2893
|
|
2742
2894
|
const headerParameters: runtime.HTTPHeaders = {};
|
2743
2895
|
|
2744
|
-
if (this.configuration && this.configuration.
|
2745
|
-
|
2746
|
-
|
2896
|
+
if (this.configuration && this.configuration.accessToken) {
|
2897
|
+
const token = this.configuration.accessToken;
|
2898
|
+
const tokenString = await token("authentik", []);
|
2747
2899
|
|
2900
|
+
if (tokenString) {
|
2901
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2902
|
+
}
|
2903
|
+
}
|
2748
2904
|
const response = await this.request({
|
2749
2905
|
path: `/stages/authenticator/validate/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2750
2906
|
method: 'DELETE',
|
@@ -2798,10 +2954,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2798
2954
|
|
2799
2955
|
const headerParameters: runtime.HTTPHeaders = {};
|
2800
2956
|
|
2801
|
-
if (this.configuration && this.configuration.
|
2802
|
-
|
2803
|
-
|
2957
|
+
if (this.configuration && this.configuration.accessToken) {
|
2958
|
+
const token = this.configuration.accessToken;
|
2959
|
+
const tokenString = await token("authentik", []);
|
2804
2960
|
|
2961
|
+
if (tokenString) {
|
2962
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
2963
|
+
}
|
2964
|
+
}
|
2805
2965
|
const response = await this.request({
|
2806
2966
|
path: `/stages/authenticator/validate/`,
|
2807
2967
|
method: 'GET',
|
@@ -2834,10 +2994,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2834
2994
|
|
2835
2995
|
headerParameters['Content-Type'] = 'application/json';
|
2836
2996
|
|
2837
|
-
if (this.configuration && this.configuration.
|
2838
|
-
|
2839
|
-
|
2997
|
+
if (this.configuration && this.configuration.accessToken) {
|
2998
|
+
const token = this.configuration.accessToken;
|
2999
|
+
const tokenString = await token("authentik", []);
|
2840
3000
|
|
3001
|
+
if (tokenString) {
|
3002
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3003
|
+
}
|
3004
|
+
}
|
2841
3005
|
const response = await this.request({
|
2842
3006
|
path: `/stages/authenticator/validate/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2843
3007
|
method: 'PATCH',
|
@@ -2869,10 +3033,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2869
3033
|
|
2870
3034
|
const headerParameters: runtime.HTTPHeaders = {};
|
2871
3035
|
|
2872
|
-
if (this.configuration && this.configuration.
|
2873
|
-
|
2874
|
-
|
3036
|
+
if (this.configuration && this.configuration.accessToken) {
|
3037
|
+
const token = this.configuration.accessToken;
|
3038
|
+
const tokenString = await token("authentik", []);
|
2875
3039
|
|
3040
|
+
if (tokenString) {
|
3041
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3042
|
+
}
|
3043
|
+
}
|
2876
3044
|
const response = await this.request({
|
2877
3045
|
path: `/stages/authenticator/validate/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2878
3046
|
method: 'GET',
|
@@ -2909,10 +3077,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2909
3077
|
|
2910
3078
|
headerParameters['Content-Type'] = 'application/json';
|
2911
3079
|
|
2912
|
-
if (this.configuration && this.configuration.
|
2913
|
-
|
2914
|
-
|
3080
|
+
if (this.configuration && this.configuration.accessToken) {
|
3081
|
+
const token = this.configuration.accessToken;
|
3082
|
+
const tokenString = await token("authentik", []);
|
2915
3083
|
|
3084
|
+
if (tokenString) {
|
3085
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3086
|
+
}
|
3087
|
+
}
|
2916
3088
|
const response = await this.request({
|
2917
3089
|
path: `/stages/authenticator/validate/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2918
3090
|
method: 'PUT',
|
@@ -2944,10 +3116,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2944
3116
|
|
2945
3117
|
const headerParameters: runtime.HTTPHeaders = {};
|
2946
3118
|
|
2947
|
-
if (this.configuration && this.configuration.
|
2948
|
-
|
2949
|
-
|
3119
|
+
if (this.configuration && this.configuration.accessToken) {
|
3120
|
+
const token = this.configuration.accessToken;
|
3121
|
+
const tokenString = await token("authentik", []);
|
2950
3122
|
|
3123
|
+
if (tokenString) {
|
3124
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3125
|
+
}
|
3126
|
+
}
|
2951
3127
|
const response = await this.request({
|
2952
3128
|
path: `/stages/authenticator/validate/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
2953
3129
|
method: 'GET',
|
@@ -2980,10 +3156,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
2980
3156
|
|
2981
3157
|
headerParameters['Content-Type'] = 'application/json';
|
2982
3158
|
|
2983
|
-
if (this.configuration && this.configuration.
|
2984
|
-
|
2985
|
-
|
3159
|
+
if (this.configuration && this.configuration.accessToken) {
|
3160
|
+
const token = this.configuration.accessToken;
|
3161
|
+
const tokenString = await token("authentik", []);
|
2986
3162
|
|
3163
|
+
if (tokenString) {
|
3164
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3165
|
+
}
|
3166
|
+
}
|
2987
3167
|
const response = await this.request({
|
2988
3168
|
path: `/stages/authenticator/webauthn/`,
|
2989
3169
|
method: 'POST',
|
@@ -3015,10 +3195,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3015
3195
|
|
3016
3196
|
const headerParameters: runtime.HTTPHeaders = {};
|
3017
3197
|
|
3018
|
-
if (this.configuration && this.configuration.
|
3019
|
-
|
3020
|
-
|
3198
|
+
if (this.configuration && this.configuration.accessToken) {
|
3199
|
+
const token = this.configuration.accessToken;
|
3200
|
+
const tokenString = await token("authentik", []);
|
3021
3201
|
|
3202
|
+
if (tokenString) {
|
3203
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3204
|
+
}
|
3205
|
+
}
|
3022
3206
|
const response = await this.request({
|
3023
3207
|
path: `/stages/authenticator/webauthn/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3024
3208
|
method: 'DELETE',
|
@@ -3072,10 +3256,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3072
3256
|
|
3073
3257
|
const headerParameters: runtime.HTTPHeaders = {};
|
3074
3258
|
|
3075
|
-
if (this.configuration && this.configuration.
|
3076
|
-
|
3077
|
-
|
3259
|
+
if (this.configuration && this.configuration.accessToken) {
|
3260
|
+
const token = this.configuration.accessToken;
|
3261
|
+
const tokenString = await token("authentik", []);
|
3078
3262
|
|
3263
|
+
if (tokenString) {
|
3264
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3265
|
+
}
|
3266
|
+
}
|
3079
3267
|
const response = await this.request({
|
3080
3268
|
path: `/stages/authenticator/webauthn_device_types/`,
|
3081
3269
|
method: 'GET',
|
@@ -3106,10 +3294,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3106
3294
|
|
3107
3295
|
const headerParameters: runtime.HTTPHeaders = {};
|
3108
3296
|
|
3109
|
-
if (this.configuration && this.configuration.
|
3110
|
-
|
3111
|
-
|
3297
|
+
if (this.configuration && this.configuration.accessToken) {
|
3298
|
+
const token = this.configuration.accessToken;
|
3299
|
+
const tokenString = await token("authentik", []);
|
3112
3300
|
|
3301
|
+
if (tokenString) {
|
3302
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3303
|
+
}
|
3304
|
+
}
|
3113
3305
|
const response = await this.request({
|
3114
3306
|
path: `/stages/authenticator/webauthn_device_types/{aaguid}/`.replace(`{${"aaguid"}}`, encodeURIComponent(String(requestParameters.aaguid))),
|
3115
3307
|
method: 'GET',
|
@@ -3184,10 +3376,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3184
3376
|
|
3185
3377
|
const headerParameters: runtime.HTTPHeaders = {};
|
3186
3378
|
|
3187
|
-
if (this.configuration && this.configuration.
|
3188
|
-
|
3189
|
-
|
3379
|
+
if (this.configuration && this.configuration.accessToken) {
|
3380
|
+
const token = this.configuration.accessToken;
|
3381
|
+
const tokenString = await token("authentik", []);
|
3190
3382
|
|
3383
|
+
if (tokenString) {
|
3384
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3385
|
+
}
|
3386
|
+
}
|
3191
3387
|
const response = await this.request({
|
3192
3388
|
path: `/stages/authenticator/webauthn/`,
|
3193
3389
|
method: 'GET',
|
@@ -3220,10 +3416,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3220
3416
|
|
3221
3417
|
headerParameters['Content-Type'] = 'application/json';
|
3222
3418
|
|
3223
|
-
if (this.configuration && this.configuration.
|
3224
|
-
|
3225
|
-
|
3419
|
+
if (this.configuration && this.configuration.accessToken) {
|
3420
|
+
const token = this.configuration.accessToken;
|
3421
|
+
const tokenString = await token("authentik", []);
|
3226
3422
|
|
3423
|
+
if (tokenString) {
|
3424
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3425
|
+
}
|
3426
|
+
}
|
3227
3427
|
const response = await this.request({
|
3228
3428
|
path: `/stages/authenticator/webauthn/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3229
3429
|
method: 'PATCH',
|
@@ -3255,10 +3455,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3255
3455
|
|
3256
3456
|
const headerParameters: runtime.HTTPHeaders = {};
|
3257
3457
|
|
3258
|
-
if (this.configuration && this.configuration.
|
3259
|
-
|
3260
|
-
|
3458
|
+
if (this.configuration && this.configuration.accessToken) {
|
3459
|
+
const token = this.configuration.accessToken;
|
3460
|
+
const tokenString = await token("authentik", []);
|
3261
3461
|
|
3462
|
+
if (tokenString) {
|
3463
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3464
|
+
}
|
3465
|
+
}
|
3262
3466
|
const response = await this.request({
|
3263
3467
|
path: `/stages/authenticator/webauthn/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3264
3468
|
method: 'GET',
|
@@ -3295,10 +3499,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3295
3499
|
|
3296
3500
|
headerParameters['Content-Type'] = 'application/json';
|
3297
3501
|
|
3298
|
-
if (this.configuration && this.configuration.
|
3299
|
-
|
3300
|
-
|
3502
|
+
if (this.configuration && this.configuration.accessToken) {
|
3503
|
+
const token = this.configuration.accessToken;
|
3504
|
+
const tokenString = await token("authentik", []);
|
3301
3505
|
|
3506
|
+
if (tokenString) {
|
3507
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3508
|
+
}
|
3509
|
+
}
|
3302
3510
|
const response = await this.request({
|
3303
3511
|
path: `/stages/authenticator/webauthn/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3304
3512
|
method: 'PUT',
|
@@ -3330,10 +3538,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3330
3538
|
|
3331
3539
|
const headerParameters: runtime.HTTPHeaders = {};
|
3332
3540
|
|
3333
|
-
if (this.configuration && this.configuration.
|
3334
|
-
|
3335
|
-
|
3541
|
+
if (this.configuration && this.configuration.accessToken) {
|
3542
|
+
const token = this.configuration.accessToken;
|
3543
|
+
const tokenString = await token("authentik", []);
|
3336
3544
|
|
3545
|
+
if (tokenString) {
|
3546
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3547
|
+
}
|
3548
|
+
}
|
3337
3549
|
const response = await this.request({
|
3338
3550
|
path: `/stages/authenticator/webauthn/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3339
3551
|
method: 'GET',
|
@@ -3366,10 +3578,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3366
3578
|
|
3367
3579
|
headerParameters['Content-Type'] = 'application/json';
|
3368
3580
|
|
3369
|
-
if (this.configuration && this.configuration.
|
3370
|
-
|
3371
|
-
|
3581
|
+
if (this.configuration && this.configuration.accessToken) {
|
3582
|
+
const token = this.configuration.accessToken;
|
3583
|
+
const tokenString = await token("authentik", []);
|
3372
3584
|
|
3585
|
+
if (tokenString) {
|
3586
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3587
|
+
}
|
3588
|
+
}
|
3373
3589
|
const response = await this.request({
|
3374
3590
|
path: `/stages/captcha/`,
|
3375
3591
|
method: 'POST',
|
@@ -3401,10 +3617,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3401
3617
|
|
3402
3618
|
const headerParameters: runtime.HTTPHeaders = {};
|
3403
3619
|
|
3404
|
-
if (this.configuration && this.configuration.
|
3405
|
-
|
3406
|
-
|
3620
|
+
if (this.configuration && this.configuration.accessToken) {
|
3621
|
+
const token = this.configuration.accessToken;
|
3622
|
+
const tokenString = await token("authentik", []);
|
3407
3623
|
|
3624
|
+
if (tokenString) {
|
3625
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3626
|
+
}
|
3627
|
+
}
|
3408
3628
|
const response = await this.request({
|
3409
3629
|
path: `/stages/captcha/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3410
3630
|
method: 'DELETE',
|
@@ -3454,10 +3674,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3454
3674
|
|
3455
3675
|
const headerParameters: runtime.HTTPHeaders = {};
|
3456
3676
|
|
3457
|
-
if (this.configuration && this.configuration.
|
3458
|
-
|
3459
|
-
|
3677
|
+
if (this.configuration && this.configuration.accessToken) {
|
3678
|
+
const token = this.configuration.accessToken;
|
3679
|
+
const tokenString = await token("authentik", []);
|
3460
3680
|
|
3681
|
+
if (tokenString) {
|
3682
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3683
|
+
}
|
3684
|
+
}
|
3461
3685
|
const response = await this.request({
|
3462
3686
|
path: `/stages/captcha/`,
|
3463
3687
|
method: 'GET',
|
@@ -3490,10 +3714,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3490
3714
|
|
3491
3715
|
headerParameters['Content-Type'] = 'application/json';
|
3492
3716
|
|
3493
|
-
if (this.configuration && this.configuration.
|
3494
|
-
|
3495
|
-
|
3717
|
+
if (this.configuration && this.configuration.accessToken) {
|
3718
|
+
const token = this.configuration.accessToken;
|
3719
|
+
const tokenString = await token("authentik", []);
|
3496
3720
|
|
3721
|
+
if (tokenString) {
|
3722
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3723
|
+
}
|
3724
|
+
}
|
3497
3725
|
const response = await this.request({
|
3498
3726
|
path: `/stages/captcha/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3499
3727
|
method: 'PATCH',
|
@@ -3525,10 +3753,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3525
3753
|
|
3526
3754
|
const headerParameters: runtime.HTTPHeaders = {};
|
3527
3755
|
|
3528
|
-
if (this.configuration && this.configuration.
|
3529
|
-
|
3530
|
-
|
3756
|
+
if (this.configuration && this.configuration.accessToken) {
|
3757
|
+
const token = this.configuration.accessToken;
|
3758
|
+
const tokenString = await token("authentik", []);
|
3531
3759
|
|
3760
|
+
if (tokenString) {
|
3761
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3762
|
+
}
|
3763
|
+
}
|
3532
3764
|
const response = await this.request({
|
3533
3765
|
path: `/stages/captcha/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3534
3766
|
method: 'GET',
|
@@ -3565,10 +3797,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3565
3797
|
|
3566
3798
|
headerParameters['Content-Type'] = 'application/json';
|
3567
3799
|
|
3568
|
-
if (this.configuration && this.configuration.
|
3569
|
-
|
3570
|
-
|
3800
|
+
if (this.configuration && this.configuration.accessToken) {
|
3801
|
+
const token = this.configuration.accessToken;
|
3802
|
+
const tokenString = await token("authentik", []);
|
3571
3803
|
|
3804
|
+
if (tokenString) {
|
3805
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3806
|
+
}
|
3807
|
+
}
|
3572
3808
|
const response = await this.request({
|
3573
3809
|
path: `/stages/captcha/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3574
3810
|
method: 'PUT',
|
@@ -3600,10 +3836,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3600
3836
|
|
3601
3837
|
const headerParameters: runtime.HTTPHeaders = {};
|
3602
3838
|
|
3603
|
-
if (this.configuration && this.configuration.
|
3604
|
-
|
3605
|
-
|
3839
|
+
if (this.configuration && this.configuration.accessToken) {
|
3840
|
+
const token = this.configuration.accessToken;
|
3841
|
+
const tokenString = await token("authentik", []);
|
3606
3842
|
|
3843
|
+
if (tokenString) {
|
3844
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3845
|
+
}
|
3846
|
+
}
|
3607
3847
|
const response = await this.request({
|
3608
3848
|
path: `/stages/captcha/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3609
3849
|
method: 'GET',
|
@@ -3636,10 +3876,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3636
3876
|
|
3637
3877
|
headerParameters['Content-Type'] = 'application/json';
|
3638
3878
|
|
3639
|
-
if (this.configuration && this.configuration.
|
3640
|
-
|
3641
|
-
|
3879
|
+
if (this.configuration && this.configuration.accessToken) {
|
3880
|
+
const token = this.configuration.accessToken;
|
3881
|
+
const tokenString = await token("authentik", []);
|
3642
3882
|
|
3883
|
+
if (tokenString) {
|
3884
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3885
|
+
}
|
3886
|
+
}
|
3643
3887
|
const response = await this.request({
|
3644
3888
|
path: `/stages/consent/`,
|
3645
3889
|
method: 'POST',
|
@@ -3671,10 +3915,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3671
3915
|
|
3672
3916
|
const headerParameters: runtime.HTTPHeaders = {};
|
3673
3917
|
|
3674
|
-
if (this.configuration && this.configuration.
|
3675
|
-
|
3676
|
-
|
3918
|
+
if (this.configuration && this.configuration.accessToken) {
|
3919
|
+
const token = this.configuration.accessToken;
|
3920
|
+
const tokenString = await token("authentik", []);
|
3677
3921
|
|
3922
|
+
if (tokenString) {
|
3923
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3924
|
+
}
|
3925
|
+
}
|
3678
3926
|
const response = await this.request({
|
3679
3927
|
path: `/stages/consent/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3680
3928
|
method: 'DELETE',
|
@@ -3732,10 +3980,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3732
3980
|
|
3733
3981
|
const headerParameters: runtime.HTTPHeaders = {};
|
3734
3982
|
|
3735
|
-
if (this.configuration && this.configuration.
|
3736
|
-
|
3737
|
-
|
3983
|
+
if (this.configuration && this.configuration.accessToken) {
|
3984
|
+
const token = this.configuration.accessToken;
|
3985
|
+
const tokenString = await token("authentik", []);
|
3738
3986
|
|
3987
|
+
if (tokenString) {
|
3988
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
3989
|
+
}
|
3990
|
+
}
|
3739
3991
|
const response = await this.request({
|
3740
3992
|
path: `/stages/consent/`,
|
3741
3993
|
method: 'GET',
|
@@ -3768,10 +4020,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3768
4020
|
|
3769
4021
|
headerParameters['Content-Type'] = 'application/json';
|
3770
4022
|
|
3771
|
-
if (this.configuration && this.configuration.
|
3772
|
-
|
3773
|
-
|
4023
|
+
if (this.configuration && this.configuration.accessToken) {
|
4024
|
+
const token = this.configuration.accessToken;
|
4025
|
+
const tokenString = await token("authentik", []);
|
3774
4026
|
|
4027
|
+
if (tokenString) {
|
4028
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4029
|
+
}
|
4030
|
+
}
|
3775
4031
|
const response = await this.request({
|
3776
4032
|
path: `/stages/consent/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3777
4033
|
method: 'PATCH',
|
@@ -3803,10 +4059,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3803
4059
|
|
3804
4060
|
const headerParameters: runtime.HTTPHeaders = {};
|
3805
4061
|
|
3806
|
-
if (this.configuration && this.configuration.
|
3807
|
-
|
3808
|
-
|
4062
|
+
if (this.configuration && this.configuration.accessToken) {
|
4063
|
+
const token = this.configuration.accessToken;
|
4064
|
+
const tokenString = await token("authentik", []);
|
3809
4065
|
|
4066
|
+
if (tokenString) {
|
4067
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4068
|
+
}
|
4069
|
+
}
|
3810
4070
|
const response = await this.request({
|
3811
4071
|
path: `/stages/consent/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3812
4072
|
method: 'GET',
|
@@ -3843,10 +4103,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3843
4103
|
|
3844
4104
|
headerParameters['Content-Type'] = 'application/json';
|
3845
4105
|
|
3846
|
-
if (this.configuration && this.configuration.
|
3847
|
-
|
3848
|
-
|
4106
|
+
if (this.configuration && this.configuration.accessToken) {
|
4107
|
+
const token = this.configuration.accessToken;
|
4108
|
+
const tokenString = await token("authentik", []);
|
3849
4109
|
|
4110
|
+
if (tokenString) {
|
4111
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4112
|
+
}
|
4113
|
+
}
|
3850
4114
|
const response = await this.request({
|
3851
4115
|
path: `/stages/consent/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3852
4116
|
method: 'PUT',
|
@@ -3878,10 +4142,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3878
4142
|
|
3879
4143
|
const headerParameters: runtime.HTTPHeaders = {};
|
3880
4144
|
|
3881
|
-
if (this.configuration && this.configuration.
|
3882
|
-
|
3883
|
-
|
4145
|
+
if (this.configuration && this.configuration.accessToken) {
|
4146
|
+
const token = this.configuration.accessToken;
|
4147
|
+
const tokenString = await token("authentik", []);
|
3884
4148
|
|
4149
|
+
if (tokenString) {
|
4150
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4151
|
+
}
|
4152
|
+
}
|
3885
4153
|
const response = await this.request({
|
3886
4154
|
path: `/stages/consent/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3887
4155
|
method: 'GET',
|
@@ -3914,10 +4182,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3914
4182
|
|
3915
4183
|
headerParameters['Content-Type'] = 'application/json';
|
3916
4184
|
|
3917
|
-
if (this.configuration && this.configuration.
|
3918
|
-
|
3919
|
-
|
4185
|
+
if (this.configuration && this.configuration.accessToken) {
|
4186
|
+
const token = this.configuration.accessToken;
|
4187
|
+
const tokenString = await token("authentik", []);
|
3920
4188
|
|
4189
|
+
if (tokenString) {
|
4190
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4191
|
+
}
|
4192
|
+
}
|
3921
4193
|
const response = await this.request({
|
3922
4194
|
path: `/stages/deny/`,
|
3923
4195
|
method: 'POST',
|
@@ -3949,10 +4221,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
3949
4221
|
|
3950
4222
|
const headerParameters: runtime.HTTPHeaders = {};
|
3951
4223
|
|
3952
|
-
if (this.configuration && this.configuration.
|
3953
|
-
|
3954
|
-
|
4224
|
+
if (this.configuration && this.configuration.accessToken) {
|
4225
|
+
const token = this.configuration.accessToken;
|
4226
|
+
const tokenString = await token("authentik", []);
|
3955
4227
|
|
4228
|
+
if (tokenString) {
|
4229
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4230
|
+
}
|
4231
|
+
}
|
3956
4232
|
const response = await this.request({
|
3957
4233
|
path: `/stages/deny/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
3958
4234
|
method: 'DELETE',
|
@@ -4006,10 +4282,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4006
4282
|
|
4007
4283
|
const headerParameters: runtime.HTTPHeaders = {};
|
4008
4284
|
|
4009
|
-
if (this.configuration && this.configuration.
|
4010
|
-
|
4011
|
-
|
4285
|
+
if (this.configuration && this.configuration.accessToken) {
|
4286
|
+
const token = this.configuration.accessToken;
|
4287
|
+
const tokenString = await token("authentik", []);
|
4012
4288
|
|
4289
|
+
if (tokenString) {
|
4290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4291
|
+
}
|
4292
|
+
}
|
4013
4293
|
const response = await this.request({
|
4014
4294
|
path: `/stages/deny/`,
|
4015
4295
|
method: 'GET',
|
@@ -4042,10 +4322,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4042
4322
|
|
4043
4323
|
headerParameters['Content-Type'] = 'application/json';
|
4044
4324
|
|
4045
|
-
if (this.configuration && this.configuration.
|
4046
|
-
|
4047
|
-
|
4325
|
+
if (this.configuration && this.configuration.accessToken) {
|
4326
|
+
const token = this.configuration.accessToken;
|
4327
|
+
const tokenString = await token("authentik", []);
|
4048
4328
|
|
4329
|
+
if (tokenString) {
|
4330
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4331
|
+
}
|
4332
|
+
}
|
4049
4333
|
const response = await this.request({
|
4050
4334
|
path: `/stages/deny/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4051
4335
|
method: 'PATCH',
|
@@ -4077,10 +4361,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4077
4361
|
|
4078
4362
|
const headerParameters: runtime.HTTPHeaders = {};
|
4079
4363
|
|
4080
|
-
if (this.configuration && this.configuration.
|
4081
|
-
|
4082
|
-
|
4364
|
+
if (this.configuration && this.configuration.accessToken) {
|
4365
|
+
const token = this.configuration.accessToken;
|
4366
|
+
const tokenString = await token("authentik", []);
|
4083
4367
|
|
4368
|
+
if (tokenString) {
|
4369
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4370
|
+
}
|
4371
|
+
}
|
4084
4372
|
const response = await this.request({
|
4085
4373
|
path: `/stages/deny/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4086
4374
|
method: 'GET',
|
@@ -4117,10 +4405,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4117
4405
|
|
4118
4406
|
headerParameters['Content-Type'] = 'application/json';
|
4119
4407
|
|
4120
|
-
if (this.configuration && this.configuration.
|
4121
|
-
|
4122
|
-
|
4408
|
+
if (this.configuration && this.configuration.accessToken) {
|
4409
|
+
const token = this.configuration.accessToken;
|
4410
|
+
const tokenString = await token("authentik", []);
|
4123
4411
|
|
4412
|
+
if (tokenString) {
|
4413
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4414
|
+
}
|
4415
|
+
}
|
4124
4416
|
const response = await this.request({
|
4125
4417
|
path: `/stages/deny/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4126
4418
|
method: 'PUT',
|
@@ -4152,10 +4444,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4152
4444
|
|
4153
4445
|
const headerParameters: runtime.HTTPHeaders = {};
|
4154
4446
|
|
4155
|
-
if (this.configuration && this.configuration.
|
4156
|
-
|
4157
|
-
|
4447
|
+
if (this.configuration && this.configuration.accessToken) {
|
4448
|
+
const token = this.configuration.accessToken;
|
4449
|
+
const tokenString = await token("authentik", []);
|
4158
4450
|
|
4451
|
+
if (tokenString) {
|
4452
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4453
|
+
}
|
4454
|
+
}
|
4159
4455
|
const response = await this.request({
|
4160
4456
|
path: `/stages/deny/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4161
4457
|
method: 'GET',
|
@@ -4188,10 +4484,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4188
4484
|
|
4189
4485
|
headerParameters['Content-Type'] = 'application/json';
|
4190
4486
|
|
4191
|
-
if (this.configuration && this.configuration.
|
4192
|
-
|
4193
|
-
|
4487
|
+
if (this.configuration && this.configuration.accessToken) {
|
4488
|
+
const token = this.configuration.accessToken;
|
4489
|
+
const tokenString = await token("authentik", []);
|
4194
4490
|
|
4491
|
+
if (tokenString) {
|
4492
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4493
|
+
}
|
4494
|
+
}
|
4195
4495
|
const response = await this.request({
|
4196
4496
|
path: `/stages/dummy/`,
|
4197
4497
|
method: 'POST',
|
@@ -4223,10 +4523,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4223
4523
|
|
4224
4524
|
const headerParameters: runtime.HTTPHeaders = {};
|
4225
4525
|
|
4226
|
-
if (this.configuration && this.configuration.
|
4227
|
-
|
4228
|
-
|
4526
|
+
if (this.configuration && this.configuration.accessToken) {
|
4527
|
+
const token = this.configuration.accessToken;
|
4528
|
+
const tokenString = await token("authentik", []);
|
4229
4529
|
|
4530
|
+
if (tokenString) {
|
4531
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4532
|
+
}
|
4533
|
+
}
|
4230
4534
|
const response = await this.request({
|
4231
4535
|
path: `/stages/dummy/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4232
4536
|
method: 'DELETE',
|
@@ -4280,10 +4584,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4280
4584
|
|
4281
4585
|
const headerParameters: runtime.HTTPHeaders = {};
|
4282
4586
|
|
4283
|
-
if (this.configuration && this.configuration.
|
4284
|
-
|
4285
|
-
|
4587
|
+
if (this.configuration && this.configuration.accessToken) {
|
4588
|
+
const token = this.configuration.accessToken;
|
4589
|
+
const tokenString = await token("authentik", []);
|
4286
4590
|
|
4591
|
+
if (tokenString) {
|
4592
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4593
|
+
}
|
4594
|
+
}
|
4287
4595
|
const response = await this.request({
|
4288
4596
|
path: `/stages/dummy/`,
|
4289
4597
|
method: 'GET',
|
@@ -4316,10 +4624,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4316
4624
|
|
4317
4625
|
headerParameters['Content-Type'] = 'application/json';
|
4318
4626
|
|
4319
|
-
if (this.configuration && this.configuration.
|
4320
|
-
|
4321
|
-
|
4627
|
+
if (this.configuration && this.configuration.accessToken) {
|
4628
|
+
const token = this.configuration.accessToken;
|
4629
|
+
const tokenString = await token("authentik", []);
|
4322
4630
|
|
4631
|
+
if (tokenString) {
|
4632
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4633
|
+
}
|
4634
|
+
}
|
4323
4635
|
const response = await this.request({
|
4324
4636
|
path: `/stages/dummy/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4325
4637
|
method: 'PATCH',
|
@@ -4351,10 +4663,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4351
4663
|
|
4352
4664
|
const headerParameters: runtime.HTTPHeaders = {};
|
4353
4665
|
|
4354
|
-
if (this.configuration && this.configuration.
|
4355
|
-
|
4356
|
-
|
4666
|
+
if (this.configuration && this.configuration.accessToken) {
|
4667
|
+
const token = this.configuration.accessToken;
|
4668
|
+
const tokenString = await token("authentik", []);
|
4357
4669
|
|
4670
|
+
if (tokenString) {
|
4671
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4672
|
+
}
|
4673
|
+
}
|
4358
4674
|
const response = await this.request({
|
4359
4675
|
path: `/stages/dummy/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4360
4676
|
method: 'GET',
|
@@ -4391,10 +4707,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4391
4707
|
|
4392
4708
|
headerParameters['Content-Type'] = 'application/json';
|
4393
4709
|
|
4394
|
-
if (this.configuration && this.configuration.
|
4395
|
-
|
4396
|
-
|
4710
|
+
if (this.configuration && this.configuration.accessToken) {
|
4711
|
+
const token = this.configuration.accessToken;
|
4712
|
+
const tokenString = await token("authentik", []);
|
4397
4713
|
|
4714
|
+
if (tokenString) {
|
4715
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4716
|
+
}
|
4717
|
+
}
|
4398
4718
|
const response = await this.request({
|
4399
4719
|
path: `/stages/dummy/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4400
4720
|
method: 'PUT',
|
@@ -4426,10 +4746,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4426
4746
|
|
4427
4747
|
const headerParameters: runtime.HTTPHeaders = {};
|
4428
4748
|
|
4429
|
-
if (this.configuration && this.configuration.
|
4430
|
-
|
4431
|
-
|
4749
|
+
if (this.configuration && this.configuration.accessToken) {
|
4750
|
+
const token = this.configuration.accessToken;
|
4751
|
+
const tokenString = await token("authentik", []);
|
4432
4752
|
|
4753
|
+
if (tokenString) {
|
4754
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4755
|
+
}
|
4756
|
+
}
|
4433
4757
|
const response = await this.request({
|
4434
4758
|
path: `/stages/dummy/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4435
4759
|
method: 'GET',
|
@@ -4462,10 +4786,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4462
4786
|
|
4463
4787
|
headerParameters['Content-Type'] = 'application/json';
|
4464
4788
|
|
4465
|
-
if (this.configuration && this.configuration.
|
4466
|
-
|
4467
|
-
|
4789
|
+
if (this.configuration && this.configuration.accessToken) {
|
4790
|
+
const token = this.configuration.accessToken;
|
4791
|
+
const tokenString = await token("authentik", []);
|
4468
4792
|
|
4793
|
+
if (tokenString) {
|
4794
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4795
|
+
}
|
4796
|
+
}
|
4469
4797
|
const response = await this.request({
|
4470
4798
|
path: `/stages/email/`,
|
4471
4799
|
method: 'POST',
|
@@ -4497,10 +4825,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4497
4825
|
|
4498
4826
|
const headerParameters: runtime.HTTPHeaders = {};
|
4499
4827
|
|
4500
|
-
if (this.configuration && this.configuration.
|
4501
|
-
|
4502
|
-
|
4828
|
+
if (this.configuration && this.configuration.accessToken) {
|
4829
|
+
const token = this.configuration.accessToken;
|
4830
|
+
const tokenString = await token("authentik", []);
|
4503
4831
|
|
4832
|
+
if (tokenString) {
|
4833
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4834
|
+
}
|
4835
|
+
}
|
4504
4836
|
const response = await this.request({
|
4505
4837
|
path: `/stages/email/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4506
4838
|
method: 'DELETE',
|
@@ -4594,10 +4926,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4594
4926
|
|
4595
4927
|
const headerParameters: runtime.HTTPHeaders = {};
|
4596
4928
|
|
4597
|
-
if (this.configuration && this.configuration.
|
4598
|
-
|
4599
|
-
|
4929
|
+
if (this.configuration && this.configuration.accessToken) {
|
4930
|
+
const token = this.configuration.accessToken;
|
4931
|
+
const tokenString = await token("authentik", []);
|
4600
4932
|
|
4933
|
+
if (tokenString) {
|
4934
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4935
|
+
}
|
4936
|
+
}
|
4601
4937
|
const response = await this.request({
|
4602
4938
|
path: `/stages/email/`,
|
4603
4939
|
method: 'GET',
|
@@ -4630,10 +4966,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4630
4966
|
|
4631
4967
|
headerParameters['Content-Type'] = 'application/json';
|
4632
4968
|
|
4633
|
-
if (this.configuration && this.configuration.
|
4634
|
-
|
4635
|
-
|
4969
|
+
if (this.configuration && this.configuration.accessToken) {
|
4970
|
+
const token = this.configuration.accessToken;
|
4971
|
+
const tokenString = await token("authentik", []);
|
4636
4972
|
|
4973
|
+
if (tokenString) {
|
4974
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
4975
|
+
}
|
4976
|
+
}
|
4637
4977
|
const response = await this.request({
|
4638
4978
|
path: `/stages/email/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4639
4979
|
method: 'PATCH',
|
@@ -4665,10 +5005,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4665
5005
|
|
4666
5006
|
const headerParameters: runtime.HTTPHeaders = {};
|
4667
5007
|
|
4668
|
-
if (this.configuration && this.configuration.
|
4669
|
-
|
4670
|
-
|
5008
|
+
if (this.configuration && this.configuration.accessToken) {
|
5009
|
+
const token = this.configuration.accessToken;
|
5010
|
+
const tokenString = await token("authentik", []);
|
4671
5011
|
|
5012
|
+
if (tokenString) {
|
5013
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5014
|
+
}
|
5015
|
+
}
|
4672
5016
|
const response = await this.request({
|
4673
5017
|
path: `/stages/email/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4674
5018
|
method: 'GET',
|
@@ -4695,10 +5039,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4695
5039
|
|
4696
5040
|
const headerParameters: runtime.HTTPHeaders = {};
|
4697
5041
|
|
4698
|
-
if (this.configuration && this.configuration.
|
4699
|
-
|
4700
|
-
|
5042
|
+
if (this.configuration && this.configuration.accessToken) {
|
5043
|
+
const token = this.configuration.accessToken;
|
5044
|
+
const tokenString = await token("authentik", []);
|
4701
5045
|
|
5046
|
+
if (tokenString) {
|
5047
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5048
|
+
}
|
5049
|
+
}
|
4702
5050
|
const response = await this.request({
|
4703
5051
|
path: `/stages/email/templates/`,
|
4704
5052
|
method: 'GET',
|
@@ -4735,10 +5083,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4735
5083
|
|
4736
5084
|
headerParameters['Content-Type'] = 'application/json';
|
4737
5085
|
|
4738
|
-
if (this.configuration && this.configuration.
|
4739
|
-
|
4740
|
-
|
5086
|
+
if (this.configuration && this.configuration.accessToken) {
|
5087
|
+
const token = this.configuration.accessToken;
|
5088
|
+
const tokenString = await token("authentik", []);
|
4741
5089
|
|
5090
|
+
if (tokenString) {
|
5091
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5092
|
+
}
|
5093
|
+
}
|
4742
5094
|
const response = await this.request({
|
4743
5095
|
path: `/stages/email/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4744
5096
|
method: 'PUT',
|
@@ -4770,10 +5122,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4770
5122
|
|
4771
5123
|
const headerParameters: runtime.HTTPHeaders = {};
|
4772
5124
|
|
4773
|
-
if (this.configuration && this.configuration.
|
4774
|
-
|
4775
|
-
|
5125
|
+
if (this.configuration && this.configuration.accessToken) {
|
5126
|
+
const token = this.configuration.accessToken;
|
5127
|
+
const tokenString = await token("authentik", []);
|
4776
5128
|
|
5129
|
+
if (tokenString) {
|
5130
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5131
|
+
}
|
5132
|
+
}
|
4777
5133
|
const response = await this.request({
|
4778
5134
|
path: `/stages/email/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4779
5135
|
method: 'GET',
|
@@ -4806,10 +5162,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4806
5162
|
|
4807
5163
|
headerParameters['Content-Type'] = 'application/json';
|
4808
5164
|
|
4809
|
-
if (this.configuration && this.configuration.
|
4810
|
-
|
4811
|
-
|
5165
|
+
if (this.configuration && this.configuration.accessToken) {
|
5166
|
+
const token = this.configuration.accessToken;
|
5167
|
+
const tokenString = await token("authentik", []);
|
4812
5168
|
|
5169
|
+
if (tokenString) {
|
5170
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5171
|
+
}
|
5172
|
+
}
|
4813
5173
|
const response = await this.request({
|
4814
5174
|
path: `/stages/identification/`,
|
4815
5175
|
method: 'POST',
|
@@ -4841,10 +5201,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4841
5201
|
|
4842
5202
|
const headerParameters: runtime.HTTPHeaders = {};
|
4843
5203
|
|
4844
|
-
if (this.configuration && this.configuration.
|
4845
|
-
|
4846
|
-
|
5204
|
+
if (this.configuration && this.configuration.accessToken) {
|
5205
|
+
const token = this.configuration.accessToken;
|
5206
|
+
const tokenString = await token("authentik", []);
|
4847
5207
|
|
5208
|
+
if (tokenString) {
|
5209
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5210
|
+
}
|
5211
|
+
}
|
4848
5212
|
const response = await this.request({
|
4849
5213
|
path: `/stages/identification/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4850
5214
|
method: 'DELETE',
|
@@ -4918,10 +5282,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4918
5282
|
|
4919
5283
|
const headerParameters: runtime.HTTPHeaders = {};
|
4920
5284
|
|
4921
|
-
if (this.configuration && this.configuration.
|
4922
|
-
|
4923
|
-
|
5285
|
+
if (this.configuration && this.configuration.accessToken) {
|
5286
|
+
const token = this.configuration.accessToken;
|
5287
|
+
const tokenString = await token("authentik", []);
|
4924
5288
|
|
5289
|
+
if (tokenString) {
|
5290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5291
|
+
}
|
5292
|
+
}
|
4925
5293
|
const response = await this.request({
|
4926
5294
|
path: `/stages/identification/`,
|
4927
5295
|
method: 'GET',
|
@@ -4954,10 +5322,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4954
5322
|
|
4955
5323
|
headerParameters['Content-Type'] = 'application/json';
|
4956
5324
|
|
4957
|
-
if (this.configuration && this.configuration.
|
4958
|
-
|
4959
|
-
|
5325
|
+
if (this.configuration && this.configuration.accessToken) {
|
5326
|
+
const token = this.configuration.accessToken;
|
5327
|
+
const tokenString = await token("authentik", []);
|
4960
5328
|
|
5329
|
+
if (tokenString) {
|
5330
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5331
|
+
}
|
5332
|
+
}
|
4961
5333
|
const response = await this.request({
|
4962
5334
|
path: `/stages/identification/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4963
5335
|
method: 'PATCH',
|
@@ -4989,10 +5361,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
4989
5361
|
|
4990
5362
|
const headerParameters: runtime.HTTPHeaders = {};
|
4991
5363
|
|
4992
|
-
if (this.configuration && this.configuration.
|
4993
|
-
|
4994
|
-
|
5364
|
+
if (this.configuration && this.configuration.accessToken) {
|
5365
|
+
const token = this.configuration.accessToken;
|
5366
|
+
const tokenString = await token("authentik", []);
|
4995
5367
|
|
5368
|
+
if (tokenString) {
|
5369
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5370
|
+
}
|
5371
|
+
}
|
4996
5372
|
const response = await this.request({
|
4997
5373
|
path: `/stages/identification/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
4998
5374
|
method: 'GET',
|
@@ -5029,10 +5405,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5029
5405
|
|
5030
5406
|
headerParameters['Content-Type'] = 'application/json';
|
5031
5407
|
|
5032
|
-
if (this.configuration && this.configuration.
|
5033
|
-
|
5034
|
-
|
5408
|
+
if (this.configuration && this.configuration.accessToken) {
|
5409
|
+
const token = this.configuration.accessToken;
|
5410
|
+
const tokenString = await token("authentik", []);
|
5035
5411
|
|
5412
|
+
if (tokenString) {
|
5413
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5414
|
+
}
|
5415
|
+
}
|
5036
5416
|
const response = await this.request({
|
5037
5417
|
path: `/stages/identification/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5038
5418
|
method: 'PUT',
|
@@ -5064,10 +5444,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5064
5444
|
|
5065
5445
|
const headerParameters: runtime.HTTPHeaders = {};
|
5066
5446
|
|
5067
|
-
if (this.configuration && this.configuration.
|
5068
|
-
|
5069
|
-
|
5447
|
+
if (this.configuration && this.configuration.accessToken) {
|
5448
|
+
const token = this.configuration.accessToken;
|
5449
|
+
const tokenString = await token("authentik", []);
|
5070
5450
|
|
5451
|
+
if (tokenString) {
|
5452
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5453
|
+
}
|
5454
|
+
}
|
5071
5455
|
const response = await this.request({
|
5072
5456
|
path: `/stages/identification/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5073
5457
|
method: 'GET',
|
@@ -5100,10 +5484,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5100
5484
|
|
5101
5485
|
headerParameters['Content-Type'] = 'application/json';
|
5102
5486
|
|
5103
|
-
if (this.configuration && this.configuration.
|
5104
|
-
|
5105
|
-
|
5487
|
+
if (this.configuration && this.configuration.accessToken) {
|
5488
|
+
const token = this.configuration.accessToken;
|
5489
|
+
const tokenString = await token("authentik", []);
|
5106
5490
|
|
5491
|
+
if (tokenString) {
|
5492
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5493
|
+
}
|
5494
|
+
}
|
5107
5495
|
const response = await this.request({
|
5108
5496
|
path: `/stages/invitation/invitations/`,
|
5109
5497
|
method: 'POST',
|
@@ -5135,10 +5523,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5135
5523
|
|
5136
5524
|
const headerParameters: runtime.HTTPHeaders = {};
|
5137
5525
|
|
5138
|
-
if (this.configuration && this.configuration.
|
5139
|
-
|
5140
|
-
|
5526
|
+
if (this.configuration && this.configuration.accessToken) {
|
5527
|
+
const token = this.configuration.accessToken;
|
5528
|
+
const tokenString = await token("authentik", []);
|
5141
5529
|
|
5530
|
+
if (tokenString) {
|
5531
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5532
|
+
}
|
5533
|
+
}
|
5142
5534
|
const response = await this.request({
|
5143
5535
|
path: `/stages/invitation/invitations/{invite_uuid}/`.replace(`{${"invite_uuid"}}`, encodeURIComponent(String(requestParameters.inviteUuid))),
|
5144
5536
|
method: 'DELETE',
|
@@ -5196,10 +5588,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5196
5588
|
|
5197
5589
|
const headerParameters: runtime.HTTPHeaders = {};
|
5198
5590
|
|
5199
|
-
if (this.configuration && this.configuration.
|
5200
|
-
|
5201
|
-
|
5591
|
+
if (this.configuration && this.configuration.accessToken) {
|
5592
|
+
const token = this.configuration.accessToken;
|
5593
|
+
const tokenString = await token("authentik", []);
|
5202
5594
|
|
5595
|
+
if (tokenString) {
|
5596
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5597
|
+
}
|
5598
|
+
}
|
5203
5599
|
const response = await this.request({
|
5204
5600
|
path: `/stages/invitation/invitations/`,
|
5205
5601
|
method: 'GET',
|
@@ -5232,10 +5628,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5232
5628
|
|
5233
5629
|
headerParameters['Content-Type'] = 'application/json';
|
5234
5630
|
|
5235
|
-
if (this.configuration && this.configuration.
|
5236
|
-
|
5237
|
-
|
5631
|
+
if (this.configuration && this.configuration.accessToken) {
|
5632
|
+
const token = this.configuration.accessToken;
|
5633
|
+
const tokenString = await token("authentik", []);
|
5238
5634
|
|
5635
|
+
if (tokenString) {
|
5636
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5637
|
+
}
|
5638
|
+
}
|
5239
5639
|
const response = await this.request({
|
5240
5640
|
path: `/stages/invitation/invitations/{invite_uuid}/`.replace(`{${"invite_uuid"}}`, encodeURIComponent(String(requestParameters.inviteUuid))),
|
5241
5641
|
method: 'PATCH',
|
@@ -5267,10 +5667,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5267
5667
|
|
5268
5668
|
const headerParameters: runtime.HTTPHeaders = {};
|
5269
5669
|
|
5270
|
-
if (this.configuration && this.configuration.
|
5271
|
-
|
5272
|
-
|
5670
|
+
if (this.configuration && this.configuration.accessToken) {
|
5671
|
+
const token = this.configuration.accessToken;
|
5672
|
+
const tokenString = await token("authentik", []);
|
5273
5673
|
|
5674
|
+
if (tokenString) {
|
5675
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5676
|
+
}
|
5677
|
+
}
|
5274
5678
|
const response = await this.request({
|
5275
5679
|
path: `/stages/invitation/invitations/{invite_uuid}/`.replace(`{${"invite_uuid"}}`, encodeURIComponent(String(requestParameters.inviteUuid))),
|
5276
5680
|
method: 'GET',
|
@@ -5307,10 +5711,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5307
5711
|
|
5308
5712
|
headerParameters['Content-Type'] = 'application/json';
|
5309
5713
|
|
5310
|
-
if (this.configuration && this.configuration.
|
5311
|
-
|
5312
|
-
|
5714
|
+
if (this.configuration && this.configuration.accessToken) {
|
5715
|
+
const token = this.configuration.accessToken;
|
5716
|
+
const tokenString = await token("authentik", []);
|
5313
5717
|
|
5718
|
+
if (tokenString) {
|
5719
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5720
|
+
}
|
5721
|
+
}
|
5314
5722
|
const response = await this.request({
|
5315
5723
|
path: `/stages/invitation/invitations/{invite_uuid}/`.replace(`{${"invite_uuid"}}`, encodeURIComponent(String(requestParameters.inviteUuid))),
|
5316
5724
|
method: 'PUT',
|
@@ -5342,10 +5750,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5342
5750
|
|
5343
5751
|
const headerParameters: runtime.HTTPHeaders = {};
|
5344
5752
|
|
5345
|
-
if (this.configuration && this.configuration.
|
5346
|
-
|
5347
|
-
|
5753
|
+
if (this.configuration && this.configuration.accessToken) {
|
5754
|
+
const token = this.configuration.accessToken;
|
5755
|
+
const tokenString = await token("authentik", []);
|
5348
5756
|
|
5757
|
+
if (tokenString) {
|
5758
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5759
|
+
}
|
5760
|
+
}
|
5349
5761
|
const response = await this.request({
|
5350
5762
|
path: `/stages/invitation/invitations/{invite_uuid}/used_by/`.replace(`{${"invite_uuid"}}`, encodeURIComponent(String(requestParameters.inviteUuid))),
|
5351
5763
|
method: 'GET',
|
@@ -5378,10 +5790,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5378
5790
|
|
5379
5791
|
headerParameters['Content-Type'] = 'application/json';
|
5380
5792
|
|
5381
|
-
if (this.configuration && this.configuration.
|
5382
|
-
|
5383
|
-
|
5793
|
+
if (this.configuration && this.configuration.accessToken) {
|
5794
|
+
const token = this.configuration.accessToken;
|
5795
|
+
const tokenString = await token("authentik", []);
|
5384
5796
|
|
5797
|
+
if (tokenString) {
|
5798
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5799
|
+
}
|
5800
|
+
}
|
5385
5801
|
const response = await this.request({
|
5386
5802
|
path: `/stages/invitation/stages/`,
|
5387
5803
|
method: 'POST',
|
@@ -5413,10 +5829,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5413
5829
|
|
5414
5830
|
const headerParameters: runtime.HTTPHeaders = {};
|
5415
5831
|
|
5416
|
-
if (this.configuration && this.configuration.
|
5417
|
-
|
5418
|
-
|
5832
|
+
if (this.configuration && this.configuration.accessToken) {
|
5833
|
+
const token = this.configuration.accessToken;
|
5834
|
+
const tokenString = await token("authentik", []);
|
5419
5835
|
|
5836
|
+
if (tokenString) {
|
5837
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5838
|
+
}
|
5839
|
+
}
|
5420
5840
|
const response = await this.request({
|
5421
5841
|
path: `/stages/invitation/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5422
5842
|
method: 'DELETE',
|
@@ -5474,10 +5894,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5474
5894
|
|
5475
5895
|
const headerParameters: runtime.HTTPHeaders = {};
|
5476
5896
|
|
5477
|
-
if (this.configuration && this.configuration.
|
5478
|
-
|
5479
|
-
|
5897
|
+
if (this.configuration && this.configuration.accessToken) {
|
5898
|
+
const token = this.configuration.accessToken;
|
5899
|
+
const tokenString = await token("authentik", []);
|
5480
5900
|
|
5901
|
+
if (tokenString) {
|
5902
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5903
|
+
}
|
5904
|
+
}
|
5481
5905
|
const response = await this.request({
|
5482
5906
|
path: `/stages/invitation/stages/`,
|
5483
5907
|
method: 'GET',
|
@@ -5510,10 +5934,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5510
5934
|
|
5511
5935
|
headerParameters['Content-Type'] = 'application/json';
|
5512
5936
|
|
5513
|
-
if (this.configuration && this.configuration.
|
5514
|
-
|
5515
|
-
|
5937
|
+
if (this.configuration && this.configuration.accessToken) {
|
5938
|
+
const token = this.configuration.accessToken;
|
5939
|
+
const tokenString = await token("authentik", []);
|
5516
5940
|
|
5941
|
+
if (tokenString) {
|
5942
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5943
|
+
}
|
5944
|
+
}
|
5517
5945
|
const response = await this.request({
|
5518
5946
|
path: `/stages/invitation/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5519
5947
|
method: 'PATCH',
|
@@ -5545,10 +5973,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5545
5973
|
|
5546
5974
|
const headerParameters: runtime.HTTPHeaders = {};
|
5547
5975
|
|
5548
|
-
if (this.configuration && this.configuration.
|
5549
|
-
|
5550
|
-
|
5976
|
+
if (this.configuration && this.configuration.accessToken) {
|
5977
|
+
const token = this.configuration.accessToken;
|
5978
|
+
const tokenString = await token("authentik", []);
|
5551
5979
|
|
5980
|
+
if (tokenString) {
|
5981
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
5982
|
+
}
|
5983
|
+
}
|
5552
5984
|
const response = await this.request({
|
5553
5985
|
path: `/stages/invitation/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5554
5986
|
method: 'GET',
|
@@ -5585,10 +6017,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5585
6017
|
|
5586
6018
|
headerParameters['Content-Type'] = 'application/json';
|
5587
6019
|
|
5588
|
-
if (this.configuration && this.configuration.
|
5589
|
-
|
5590
|
-
|
6020
|
+
if (this.configuration && this.configuration.accessToken) {
|
6021
|
+
const token = this.configuration.accessToken;
|
6022
|
+
const tokenString = await token("authentik", []);
|
5591
6023
|
|
6024
|
+
if (tokenString) {
|
6025
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6026
|
+
}
|
6027
|
+
}
|
5592
6028
|
const response = await this.request({
|
5593
6029
|
path: `/stages/invitation/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5594
6030
|
method: 'PUT',
|
@@ -5620,10 +6056,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5620
6056
|
|
5621
6057
|
const headerParameters: runtime.HTTPHeaders = {};
|
5622
6058
|
|
5623
|
-
if (this.configuration && this.configuration.
|
5624
|
-
|
5625
|
-
|
6059
|
+
if (this.configuration && this.configuration.accessToken) {
|
6060
|
+
const token = this.configuration.accessToken;
|
6061
|
+
const tokenString = await token("authentik", []);
|
5626
6062
|
|
6063
|
+
if (tokenString) {
|
6064
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6065
|
+
}
|
6066
|
+
}
|
5627
6067
|
const response = await this.request({
|
5628
6068
|
path: `/stages/invitation/stages/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5629
6069
|
method: 'GET',
|
@@ -5656,10 +6096,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5656
6096
|
|
5657
6097
|
headerParameters['Content-Type'] = 'application/json';
|
5658
6098
|
|
5659
|
-
if (this.configuration && this.configuration.
|
5660
|
-
|
5661
|
-
|
6099
|
+
if (this.configuration && this.configuration.accessToken) {
|
6100
|
+
const token = this.configuration.accessToken;
|
6101
|
+
const tokenString = await token("authentik", []);
|
5662
6102
|
|
6103
|
+
if (tokenString) {
|
6104
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6105
|
+
}
|
6106
|
+
}
|
5663
6107
|
const response = await this.request({
|
5664
6108
|
path: `/stages/password/`,
|
5665
6109
|
method: 'POST',
|
@@ -5691,10 +6135,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5691
6135
|
|
5692
6136
|
const headerParameters: runtime.HTTPHeaders = {};
|
5693
6137
|
|
5694
|
-
if (this.configuration && this.configuration.
|
5695
|
-
|
5696
|
-
|
6138
|
+
if (this.configuration && this.configuration.accessToken) {
|
6139
|
+
const token = this.configuration.accessToken;
|
6140
|
+
const tokenString = await token("authentik", []);
|
5697
6141
|
|
6142
|
+
if (tokenString) {
|
6143
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6144
|
+
}
|
6145
|
+
}
|
5698
6146
|
const response = await this.request({
|
5699
6147
|
path: `/stages/password/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5700
6148
|
method: 'DELETE',
|
@@ -5748,10 +6196,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5748
6196
|
|
5749
6197
|
const headerParameters: runtime.HTTPHeaders = {};
|
5750
6198
|
|
5751
|
-
if (this.configuration && this.configuration.
|
5752
|
-
|
5753
|
-
|
6199
|
+
if (this.configuration && this.configuration.accessToken) {
|
6200
|
+
const token = this.configuration.accessToken;
|
6201
|
+
const tokenString = await token("authentik", []);
|
5754
6202
|
|
6203
|
+
if (tokenString) {
|
6204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6205
|
+
}
|
6206
|
+
}
|
5755
6207
|
const response = await this.request({
|
5756
6208
|
path: `/stages/password/`,
|
5757
6209
|
method: 'GET',
|
@@ -5784,10 +6236,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5784
6236
|
|
5785
6237
|
headerParameters['Content-Type'] = 'application/json';
|
5786
6238
|
|
5787
|
-
if (this.configuration && this.configuration.
|
5788
|
-
|
5789
|
-
|
6239
|
+
if (this.configuration && this.configuration.accessToken) {
|
6240
|
+
const token = this.configuration.accessToken;
|
6241
|
+
const tokenString = await token("authentik", []);
|
5790
6242
|
|
6243
|
+
if (tokenString) {
|
6244
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6245
|
+
}
|
6246
|
+
}
|
5791
6247
|
const response = await this.request({
|
5792
6248
|
path: `/stages/password/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5793
6249
|
method: 'PATCH',
|
@@ -5819,10 +6275,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5819
6275
|
|
5820
6276
|
const headerParameters: runtime.HTTPHeaders = {};
|
5821
6277
|
|
5822
|
-
if (this.configuration && this.configuration.
|
5823
|
-
|
5824
|
-
|
6278
|
+
if (this.configuration && this.configuration.accessToken) {
|
6279
|
+
const token = this.configuration.accessToken;
|
6280
|
+
const tokenString = await token("authentik", []);
|
5825
6281
|
|
6282
|
+
if (tokenString) {
|
6283
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6284
|
+
}
|
6285
|
+
}
|
5826
6286
|
const response = await this.request({
|
5827
6287
|
path: `/stages/password/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5828
6288
|
method: 'GET',
|
@@ -5859,10 +6319,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5859
6319
|
|
5860
6320
|
headerParameters['Content-Type'] = 'application/json';
|
5861
6321
|
|
5862
|
-
if (this.configuration && this.configuration.
|
5863
|
-
|
5864
|
-
|
6322
|
+
if (this.configuration && this.configuration.accessToken) {
|
6323
|
+
const token = this.configuration.accessToken;
|
6324
|
+
const tokenString = await token("authentik", []);
|
5865
6325
|
|
6326
|
+
if (tokenString) {
|
6327
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6328
|
+
}
|
6329
|
+
}
|
5866
6330
|
const response = await this.request({
|
5867
6331
|
path: `/stages/password/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5868
6332
|
method: 'PUT',
|
@@ -5894,10 +6358,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5894
6358
|
|
5895
6359
|
const headerParameters: runtime.HTTPHeaders = {};
|
5896
6360
|
|
5897
|
-
if (this.configuration && this.configuration.
|
5898
|
-
|
5899
|
-
|
6361
|
+
if (this.configuration && this.configuration.accessToken) {
|
6362
|
+
const token = this.configuration.accessToken;
|
6363
|
+
const tokenString = await token("authentik", []);
|
5900
6364
|
|
6365
|
+
if (tokenString) {
|
6366
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6367
|
+
}
|
6368
|
+
}
|
5901
6369
|
const response = await this.request({
|
5902
6370
|
path: `/stages/password/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
5903
6371
|
method: 'GET',
|
@@ -5930,10 +6398,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5930
6398
|
|
5931
6399
|
headerParameters['Content-Type'] = 'application/json';
|
5932
6400
|
|
5933
|
-
if (this.configuration && this.configuration.
|
5934
|
-
|
5935
|
-
|
6401
|
+
if (this.configuration && this.configuration.accessToken) {
|
6402
|
+
const token = this.configuration.accessToken;
|
6403
|
+
const tokenString = await token("authentik", []);
|
5936
6404
|
|
6405
|
+
if (tokenString) {
|
6406
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6407
|
+
}
|
6408
|
+
}
|
5937
6409
|
const response = await this.request({
|
5938
6410
|
path: `/stages/prompt/prompts/`,
|
5939
6411
|
method: 'POST',
|
@@ -5965,10 +6437,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
5965
6437
|
|
5966
6438
|
const headerParameters: runtime.HTTPHeaders = {};
|
5967
6439
|
|
5968
|
-
if (this.configuration && this.configuration.
|
5969
|
-
|
5970
|
-
|
6440
|
+
if (this.configuration && this.configuration.accessToken) {
|
6441
|
+
const token = this.configuration.accessToken;
|
6442
|
+
const tokenString = await token("authentik", []);
|
5971
6443
|
|
6444
|
+
if (tokenString) {
|
6445
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6446
|
+
}
|
6447
|
+
}
|
5972
6448
|
const response = await this.request({
|
5973
6449
|
path: `/stages/prompt/prompts/{prompt_uuid}/`.replace(`{${"prompt_uuid"}}`, encodeURIComponent(String(requestParameters.promptUuid))),
|
5974
6450
|
method: 'DELETE',
|
@@ -6030,10 +6506,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6030
6506
|
|
6031
6507
|
const headerParameters: runtime.HTTPHeaders = {};
|
6032
6508
|
|
6033
|
-
if (this.configuration && this.configuration.
|
6034
|
-
|
6035
|
-
|
6509
|
+
if (this.configuration && this.configuration.accessToken) {
|
6510
|
+
const token = this.configuration.accessToken;
|
6511
|
+
const tokenString = await token("authentik", []);
|
6036
6512
|
|
6513
|
+
if (tokenString) {
|
6514
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6515
|
+
}
|
6516
|
+
}
|
6037
6517
|
const response = await this.request({
|
6038
6518
|
path: `/stages/prompt/prompts/`,
|
6039
6519
|
method: 'GET',
|
@@ -6066,10 +6546,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6066
6546
|
|
6067
6547
|
headerParameters['Content-Type'] = 'application/json';
|
6068
6548
|
|
6069
|
-
if (this.configuration && this.configuration.
|
6070
|
-
|
6071
|
-
|
6549
|
+
if (this.configuration && this.configuration.accessToken) {
|
6550
|
+
const token = this.configuration.accessToken;
|
6551
|
+
const tokenString = await token("authentik", []);
|
6072
6552
|
|
6553
|
+
if (tokenString) {
|
6554
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6555
|
+
}
|
6556
|
+
}
|
6073
6557
|
const response = await this.request({
|
6074
6558
|
path: `/stages/prompt/prompts/{prompt_uuid}/`.replace(`{${"prompt_uuid"}}`, encodeURIComponent(String(requestParameters.promptUuid))),
|
6075
6559
|
method: 'PATCH',
|
@@ -6103,10 +6587,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6103
6587
|
|
6104
6588
|
headerParameters['Content-Type'] = 'application/json';
|
6105
6589
|
|
6106
|
-
if (this.configuration && this.configuration.
|
6107
|
-
|
6108
|
-
|
6590
|
+
if (this.configuration && this.configuration.accessToken) {
|
6591
|
+
const token = this.configuration.accessToken;
|
6592
|
+
const tokenString = await token("authentik", []);
|
6109
6593
|
|
6594
|
+
if (tokenString) {
|
6595
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6596
|
+
}
|
6597
|
+
}
|
6110
6598
|
const response = await this.request({
|
6111
6599
|
path: `/stages/prompt/prompts/preview/`,
|
6112
6600
|
method: 'POST',
|
@@ -6138,10 +6626,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6138
6626
|
|
6139
6627
|
const headerParameters: runtime.HTTPHeaders = {};
|
6140
6628
|
|
6141
|
-
if (this.configuration && this.configuration.
|
6142
|
-
|
6143
|
-
|
6629
|
+
if (this.configuration && this.configuration.accessToken) {
|
6630
|
+
const token = this.configuration.accessToken;
|
6631
|
+
const tokenString = await token("authentik", []);
|
6144
6632
|
|
6633
|
+
if (tokenString) {
|
6634
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6635
|
+
}
|
6636
|
+
}
|
6145
6637
|
const response = await this.request({
|
6146
6638
|
path: `/stages/prompt/prompts/{prompt_uuid}/`.replace(`{${"prompt_uuid"}}`, encodeURIComponent(String(requestParameters.promptUuid))),
|
6147
6639
|
method: 'GET',
|
@@ -6178,10 +6670,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6178
6670
|
|
6179
6671
|
headerParameters['Content-Type'] = 'application/json';
|
6180
6672
|
|
6181
|
-
if (this.configuration && this.configuration.
|
6182
|
-
|
6183
|
-
|
6673
|
+
if (this.configuration && this.configuration.accessToken) {
|
6674
|
+
const token = this.configuration.accessToken;
|
6675
|
+
const tokenString = await token("authentik", []);
|
6184
6676
|
|
6677
|
+
if (tokenString) {
|
6678
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6679
|
+
}
|
6680
|
+
}
|
6185
6681
|
const response = await this.request({
|
6186
6682
|
path: `/stages/prompt/prompts/{prompt_uuid}/`.replace(`{${"prompt_uuid"}}`, encodeURIComponent(String(requestParameters.promptUuid))),
|
6187
6683
|
method: 'PUT',
|
@@ -6213,10 +6709,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6213
6709
|
|
6214
6710
|
const headerParameters: runtime.HTTPHeaders = {};
|
6215
6711
|
|
6216
|
-
if (this.configuration && this.configuration.
|
6217
|
-
|
6218
|
-
|
6712
|
+
if (this.configuration && this.configuration.accessToken) {
|
6713
|
+
const token = this.configuration.accessToken;
|
6714
|
+
const tokenString = await token("authentik", []);
|
6219
6715
|
|
6716
|
+
if (tokenString) {
|
6717
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6718
|
+
}
|
6719
|
+
}
|
6220
6720
|
const response = await this.request({
|
6221
6721
|
path: `/stages/prompt/prompts/{prompt_uuid}/used_by/`.replace(`{${"prompt_uuid"}}`, encodeURIComponent(String(requestParameters.promptUuid))),
|
6222
6722
|
method: 'GET',
|
@@ -6249,10 +6749,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6249
6749
|
|
6250
6750
|
headerParameters['Content-Type'] = 'application/json';
|
6251
6751
|
|
6252
|
-
if (this.configuration && this.configuration.
|
6253
|
-
|
6254
|
-
|
6752
|
+
if (this.configuration && this.configuration.accessToken) {
|
6753
|
+
const token = this.configuration.accessToken;
|
6754
|
+
const tokenString = await token("authentik", []);
|
6255
6755
|
|
6756
|
+
if (tokenString) {
|
6757
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6758
|
+
}
|
6759
|
+
}
|
6256
6760
|
const response = await this.request({
|
6257
6761
|
path: `/stages/prompt/stages/`,
|
6258
6762
|
method: 'POST',
|
@@ -6284,10 +6788,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6284
6788
|
|
6285
6789
|
const headerParameters: runtime.HTTPHeaders = {};
|
6286
6790
|
|
6287
|
-
if (this.configuration && this.configuration.
|
6288
|
-
|
6289
|
-
|
6791
|
+
if (this.configuration && this.configuration.accessToken) {
|
6792
|
+
const token = this.configuration.accessToken;
|
6793
|
+
const tokenString = await token("authentik", []);
|
6290
6794
|
|
6795
|
+
if (tokenString) {
|
6796
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6797
|
+
}
|
6798
|
+
}
|
6291
6799
|
const response = await this.request({
|
6292
6800
|
path: `/stages/prompt/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6293
6801
|
method: 'DELETE',
|
@@ -6345,10 +6853,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6345
6853
|
|
6346
6854
|
const headerParameters: runtime.HTTPHeaders = {};
|
6347
6855
|
|
6348
|
-
if (this.configuration && this.configuration.
|
6349
|
-
|
6350
|
-
|
6856
|
+
if (this.configuration && this.configuration.accessToken) {
|
6857
|
+
const token = this.configuration.accessToken;
|
6858
|
+
const tokenString = await token("authentik", []);
|
6351
6859
|
|
6860
|
+
if (tokenString) {
|
6861
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6862
|
+
}
|
6863
|
+
}
|
6352
6864
|
const response = await this.request({
|
6353
6865
|
path: `/stages/prompt/stages/`,
|
6354
6866
|
method: 'GET',
|
@@ -6381,10 +6893,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6381
6893
|
|
6382
6894
|
headerParameters['Content-Type'] = 'application/json';
|
6383
6895
|
|
6384
|
-
if (this.configuration && this.configuration.
|
6385
|
-
|
6386
|
-
|
6896
|
+
if (this.configuration && this.configuration.accessToken) {
|
6897
|
+
const token = this.configuration.accessToken;
|
6898
|
+
const tokenString = await token("authentik", []);
|
6387
6899
|
|
6900
|
+
if (tokenString) {
|
6901
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6902
|
+
}
|
6903
|
+
}
|
6388
6904
|
const response = await this.request({
|
6389
6905
|
path: `/stages/prompt/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6390
6906
|
method: 'PATCH',
|
@@ -6416,10 +6932,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6416
6932
|
|
6417
6933
|
const headerParameters: runtime.HTTPHeaders = {};
|
6418
6934
|
|
6419
|
-
if (this.configuration && this.configuration.
|
6420
|
-
|
6421
|
-
|
6935
|
+
if (this.configuration && this.configuration.accessToken) {
|
6936
|
+
const token = this.configuration.accessToken;
|
6937
|
+
const tokenString = await token("authentik", []);
|
6422
6938
|
|
6939
|
+
if (tokenString) {
|
6940
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6941
|
+
}
|
6942
|
+
}
|
6423
6943
|
const response = await this.request({
|
6424
6944
|
path: `/stages/prompt/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6425
6945
|
method: 'GET',
|
@@ -6456,10 +6976,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6456
6976
|
|
6457
6977
|
headerParameters['Content-Type'] = 'application/json';
|
6458
6978
|
|
6459
|
-
if (this.configuration && this.configuration.
|
6460
|
-
|
6461
|
-
|
6979
|
+
if (this.configuration && this.configuration.accessToken) {
|
6980
|
+
const token = this.configuration.accessToken;
|
6981
|
+
const tokenString = await token("authentik", []);
|
6462
6982
|
|
6983
|
+
if (tokenString) {
|
6984
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
6985
|
+
}
|
6986
|
+
}
|
6463
6987
|
const response = await this.request({
|
6464
6988
|
path: `/stages/prompt/stages/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6465
6989
|
method: 'PUT',
|
@@ -6491,10 +7015,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6491
7015
|
|
6492
7016
|
const headerParameters: runtime.HTTPHeaders = {};
|
6493
7017
|
|
6494
|
-
if (this.configuration && this.configuration.
|
6495
|
-
|
6496
|
-
|
7018
|
+
if (this.configuration && this.configuration.accessToken) {
|
7019
|
+
const token = this.configuration.accessToken;
|
7020
|
+
const tokenString = await token("authentik", []);
|
6497
7021
|
|
7022
|
+
if (tokenString) {
|
7023
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7024
|
+
}
|
7025
|
+
}
|
6498
7026
|
const response = await this.request({
|
6499
7027
|
path: `/stages/prompt/stages/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6500
7028
|
method: 'GET',
|
@@ -6527,10 +7055,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6527
7055
|
|
6528
7056
|
headerParameters['Content-Type'] = 'application/json';
|
6529
7057
|
|
6530
|
-
if (this.configuration && this.configuration.
|
6531
|
-
|
6532
|
-
|
7058
|
+
if (this.configuration && this.configuration.accessToken) {
|
7059
|
+
const token = this.configuration.accessToken;
|
7060
|
+
const tokenString = await token("authentik", []);
|
6533
7061
|
|
7062
|
+
if (tokenString) {
|
7063
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7064
|
+
}
|
7065
|
+
}
|
6534
7066
|
const response = await this.request({
|
6535
7067
|
path: `/stages/source/`,
|
6536
7068
|
method: 'POST',
|
@@ -6562,10 +7094,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6562
7094
|
|
6563
7095
|
const headerParameters: runtime.HTTPHeaders = {};
|
6564
7096
|
|
6565
|
-
if (this.configuration && this.configuration.
|
6566
|
-
|
6567
|
-
|
7097
|
+
if (this.configuration && this.configuration.accessToken) {
|
7098
|
+
const token = this.configuration.accessToken;
|
7099
|
+
const tokenString = await token("authentik", []);
|
6568
7100
|
|
7101
|
+
if (tokenString) {
|
7102
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7103
|
+
}
|
7104
|
+
}
|
6569
7105
|
const response = await this.request({
|
6570
7106
|
path: `/stages/source/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6571
7107
|
method: 'DELETE',
|
@@ -6623,10 +7159,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6623
7159
|
|
6624
7160
|
const headerParameters: runtime.HTTPHeaders = {};
|
6625
7161
|
|
6626
|
-
if (this.configuration && this.configuration.
|
6627
|
-
|
6628
|
-
|
7162
|
+
if (this.configuration && this.configuration.accessToken) {
|
7163
|
+
const token = this.configuration.accessToken;
|
7164
|
+
const tokenString = await token("authentik", []);
|
6629
7165
|
|
7166
|
+
if (tokenString) {
|
7167
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7168
|
+
}
|
7169
|
+
}
|
6630
7170
|
const response = await this.request({
|
6631
7171
|
path: `/stages/source/`,
|
6632
7172
|
method: 'GET',
|
@@ -6659,10 +7199,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6659
7199
|
|
6660
7200
|
headerParameters['Content-Type'] = 'application/json';
|
6661
7201
|
|
6662
|
-
if (this.configuration && this.configuration.
|
6663
|
-
|
6664
|
-
|
7202
|
+
if (this.configuration && this.configuration.accessToken) {
|
7203
|
+
const token = this.configuration.accessToken;
|
7204
|
+
const tokenString = await token("authentik", []);
|
6665
7205
|
|
7206
|
+
if (tokenString) {
|
7207
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7208
|
+
}
|
7209
|
+
}
|
6666
7210
|
const response = await this.request({
|
6667
7211
|
path: `/stages/source/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6668
7212
|
method: 'PATCH',
|
@@ -6694,10 +7238,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6694
7238
|
|
6695
7239
|
const headerParameters: runtime.HTTPHeaders = {};
|
6696
7240
|
|
6697
|
-
if (this.configuration && this.configuration.
|
6698
|
-
|
6699
|
-
|
7241
|
+
if (this.configuration && this.configuration.accessToken) {
|
7242
|
+
const token = this.configuration.accessToken;
|
7243
|
+
const tokenString = await token("authentik", []);
|
6700
7244
|
|
7245
|
+
if (tokenString) {
|
7246
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7247
|
+
}
|
7248
|
+
}
|
6701
7249
|
const response = await this.request({
|
6702
7250
|
path: `/stages/source/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6703
7251
|
method: 'GET',
|
@@ -6734,10 +7282,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6734
7282
|
|
6735
7283
|
headerParameters['Content-Type'] = 'application/json';
|
6736
7284
|
|
6737
|
-
if (this.configuration && this.configuration.
|
6738
|
-
|
6739
|
-
|
7285
|
+
if (this.configuration && this.configuration.accessToken) {
|
7286
|
+
const token = this.configuration.accessToken;
|
7287
|
+
const tokenString = await token("authentik", []);
|
6740
7288
|
|
7289
|
+
if (tokenString) {
|
7290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7291
|
+
}
|
7292
|
+
}
|
6741
7293
|
const response = await this.request({
|
6742
7294
|
path: `/stages/source/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6743
7295
|
method: 'PUT',
|
@@ -6769,10 +7321,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6769
7321
|
|
6770
7322
|
const headerParameters: runtime.HTTPHeaders = {};
|
6771
7323
|
|
6772
|
-
if (this.configuration && this.configuration.
|
6773
|
-
|
6774
|
-
|
7324
|
+
if (this.configuration && this.configuration.accessToken) {
|
7325
|
+
const token = this.configuration.accessToken;
|
7326
|
+
const tokenString = await token("authentik", []);
|
6775
7327
|
|
7328
|
+
if (tokenString) {
|
7329
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7330
|
+
}
|
7331
|
+
}
|
6776
7332
|
const response = await this.request({
|
6777
7333
|
path: `/stages/source/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6778
7334
|
method: 'GET',
|
@@ -6805,10 +7361,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6805
7361
|
|
6806
7362
|
headerParameters['Content-Type'] = 'application/json';
|
6807
7363
|
|
6808
|
-
if (this.configuration && this.configuration.
|
6809
|
-
|
6810
|
-
|
7364
|
+
if (this.configuration && this.configuration.accessToken) {
|
7365
|
+
const token = this.configuration.accessToken;
|
7366
|
+
const tokenString = await token("authentik", []);
|
6811
7367
|
|
7368
|
+
if (tokenString) {
|
7369
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7370
|
+
}
|
7371
|
+
}
|
6812
7372
|
const response = await this.request({
|
6813
7373
|
path: `/stages/user_delete/`,
|
6814
7374
|
method: 'POST',
|
@@ -6840,10 +7400,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6840
7400
|
|
6841
7401
|
const headerParameters: runtime.HTTPHeaders = {};
|
6842
7402
|
|
6843
|
-
if (this.configuration && this.configuration.
|
6844
|
-
|
6845
|
-
|
7403
|
+
if (this.configuration && this.configuration.accessToken) {
|
7404
|
+
const token = this.configuration.accessToken;
|
7405
|
+
const tokenString = await token("authentik", []);
|
6846
7406
|
|
7407
|
+
if (tokenString) {
|
7408
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7409
|
+
}
|
7410
|
+
}
|
6847
7411
|
const response = await this.request({
|
6848
7412
|
path: `/stages/user_delete/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6849
7413
|
method: 'DELETE',
|
@@ -6893,10 +7457,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6893
7457
|
|
6894
7458
|
const headerParameters: runtime.HTTPHeaders = {};
|
6895
7459
|
|
6896
|
-
if (this.configuration && this.configuration.
|
6897
|
-
|
6898
|
-
|
7460
|
+
if (this.configuration && this.configuration.accessToken) {
|
7461
|
+
const token = this.configuration.accessToken;
|
7462
|
+
const tokenString = await token("authentik", []);
|
6899
7463
|
|
7464
|
+
if (tokenString) {
|
7465
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7466
|
+
}
|
7467
|
+
}
|
6900
7468
|
const response = await this.request({
|
6901
7469
|
path: `/stages/user_delete/`,
|
6902
7470
|
method: 'GET',
|
@@ -6929,10 +7497,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6929
7497
|
|
6930
7498
|
headerParameters['Content-Type'] = 'application/json';
|
6931
7499
|
|
6932
|
-
if (this.configuration && this.configuration.
|
6933
|
-
|
6934
|
-
|
7500
|
+
if (this.configuration && this.configuration.accessToken) {
|
7501
|
+
const token = this.configuration.accessToken;
|
7502
|
+
const tokenString = await token("authentik", []);
|
6935
7503
|
|
7504
|
+
if (tokenString) {
|
7505
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7506
|
+
}
|
7507
|
+
}
|
6936
7508
|
const response = await this.request({
|
6937
7509
|
path: `/stages/user_delete/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6938
7510
|
method: 'PATCH',
|
@@ -6964,10 +7536,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6964
7536
|
|
6965
7537
|
const headerParameters: runtime.HTTPHeaders = {};
|
6966
7538
|
|
6967
|
-
if (this.configuration && this.configuration.
|
6968
|
-
|
6969
|
-
|
7539
|
+
if (this.configuration && this.configuration.accessToken) {
|
7540
|
+
const token = this.configuration.accessToken;
|
7541
|
+
const tokenString = await token("authentik", []);
|
6970
7542
|
|
7543
|
+
if (tokenString) {
|
7544
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7545
|
+
}
|
7546
|
+
}
|
6971
7547
|
const response = await this.request({
|
6972
7548
|
path: `/stages/user_delete/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
6973
7549
|
method: 'GET',
|
@@ -7004,10 +7580,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7004
7580
|
|
7005
7581
|
headerParameters['Content-Type'] = 'application/json';
|
7006
7582
|
|
7007
|
-
if (this.configuration && this.configuration.
|
7008
|
-
|
7009
|
-
|
7583
|
+
if (this.configuration && this.configuration.accessToken) {
|
7584
|
+
const token = this.configuration.accessToken;
|
7585
|
+
const tokenString = await token("authentik", []);
|
7010
7586
|
|
7587
|
+
if (tokenString) {
|
7588
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7589
|
+
}
|
7590
|
+
}
|
7011
7591
|
const response = await this.request({
|
7012
7592
|
path: `/stages/user_delete/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7013
7593
|
method: 'PUT',
|
@@ -7039,10 +7619,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7039
7619
|
|
7040
7620
|
const headerParameters: runtime.HTTPHeaders = {};
|
7041
7621
|
|
7042
|
-
if (this.configuration && this.configuration.
|
7043
|
-
|
7044
|
-
|
7622
|
+
if (this.configuration && this.configuration.accessToken) {
|
7623
|
+
const token = this.configuration.accessToken;
|
7624
|
+
const tokenString = await token("authentik", []);
|
7045
7625
|
|
7626
|
+
if (tokenString) {
|
7627
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7628
|
+
}
|
7629
|
+
}
|
7046
7630
|
const response = await this.request({
|
7047
7631
|
path: `/stages/user_delete/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7048
7632
|
method: 'GET',
|
@@ -7075,10 +7659,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7075
7659
|
|
7076
7660
|
headerParameters['Content-Type'] = 'application/json';
|
7077
7661
|
|
7078
|
-
if (this.configuration && this.configuration.
|
7079
|
-
|
7080
|
-
|
7662
|
+
if (this.configuration && this.configuration.accessToken) {
|
7663
|
+
const token = this.configuration.accessToken;
|
7664
|
+
const tokenString = await token("authentik", []);
|
7081
7665
|
|
7666
|
+
if (tokenString) {
|
7667
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7668
|
+
}
|
7669
|
+
}
|
7082
7670
|
const response = await this.request({
|
7083
7671
|
path: `/stages/user_login/`,
|
7084
7672
|
method: 'POST',
|
@@ -7110,10 +7698,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7110
7698
|
|
7111
7699
|
const headerParameters: runtime.HTTPHeaders = {};
|
7112
7700
|
|
7113
|
-
if (this.configuration && this.configuration.
|
7114
|
-
|
7115
|
-
|
7701
|
+
if (this.configuration && this.configuration.accessToken) {
|
7702
|
+
const token = this.configuration.accessToken;
|
7703
|
+
const tokenString = await token("authentik", []);
|
7116
7704
|
|
7705
|
+
if (tokenString) {
|
7706
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7707
|
+
}
|
7708
|
+
}
|
7117
7709
|
const response = await this.request({
|
7118
7710
|
path: `/stages/user_login/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7119
7711
|
method: 'DELETE',
|
@@ -7183,10 +7775,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7183
7775
|
|
7184
7776
|
const headerParameters: runtime.HTTPHeaders = {};
|
7185
7777
|
|
7186
|
-
if (this.configuration && this.configuration.
|
7187
|
-
|
7188
|
-
|
7778
|
+
if (this.configuration && this.configuration.accessToken) {
|
7779
|
+
const token = this.configuration.accessToken;
|
7780
|
+
const tokenString = await token("authentik", []);
|
7189
7781
|
|
7782
|
+
if (tokenString) {
|
7783
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7784
|
+
}
|
7785
|
+
}
|
7190
7786
|
const response = await this.request({
|
7191
7787
|
path: `/stages/user_login/`,
|
7192
7788
|
method: 'GET',
|
@@ -7219,10 +7815,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7219
7815
|
|
7220
7816
|
headerParameters['Content-Type'] = 'application/json';
|
7221
7817
|
|
7222
|
-
if (this.configuration && this.configuration.
|
7223
|
-
|
7224
|
-
|
7818
|
+
if (this.configuration && this.configuration.accessToken) {
|
7819
|
+
const token = this.configuration.accessToken;
|
7820
|
+
const tokenString = await token("authentik", []);
|
7225
7821
|
|
7822
|
+
if (tokenString) {
|
7823
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7824
|
+
}
|
7825
|
+
}
|
7226
7826
|
const response = await this.request({
|
7227
7827
|
path: `/stages/user_login/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7228
7828
|
method: 'PATCH',
|
@@ -7254,10 +7854,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7254
7854
|
|
7255
7855
|
const headerParameters: runtime.HTTPHeaders = {};
|
7256
7856
|
|
7257
|
-
if (this.configuration && this.configuration.
|
7258
|
-
|
7259
|
-
|
7857
|
+
if (this.configuration && this.configuration.accessToken) {
|
7858
|
+
const token = this.configuration.accessToken;
|
7859
|
+
const tokenString = await token("authentik", []);
|
7260
7860
|
|
7861
|
+
if (tokenString) {
|
7862
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7863
|
+
}
|
7864
|
+
}
|
7261
7865
|
const response = await this.request({
|
7262
7866
|
path: `/stages/user_login/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7263
7867
|
method: 'GET',
|
@@ -7294,10 +7898,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7294
7898
|
|
7295
7899
|
headerParameters['Content-Type'] = 'application/json';
|
7296
7900
|
|
7297
|
-
if (this.configuration && this.configuration.
|
7298
|
-
|
7299
|
-
|
7901
|
+
if (this.configuration && this.configuration.accessToken) {
|
7902
|
+
const token = this.configuration.accessToken;
|
7903
|
+
const tokenString = await token("authentik", []);
|
7300
7904
|
|
7905
|
+
if (tokenString) {
|
7906
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7907
|
+
}
|
7908
|
+
}
|
7301
7909
|
const response = await this.request({
|
7302
7910
|
path: `/stages/user_login/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7303
7911
|
method: 'PUT',
|
@@ -7329,10 +7937,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7329
7937
|
|
7330
7938
|
const headerParameters: runtime.HTTPHeaders = {};
|
7331
7939
|
|
7332
|
-
if (this.configuration && this.configuration.
|
7333
|
-
|
7334
|
-
|
7940
|
+
if (this.configuration && this.configuration.accessToken) {
|
7941
|
+
const token = this.configuration.accessToken;
|
7942
|
+
const tokenString = await token("authentik", []);
|
7335
7943
|
|
7944
|
+
if (tokenString) {
|
7945
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7946
|
+
}
|
7947
|
+
}
|
7336
7948
|
const response = await this.request({
|
7337
7949
|
path: `/stages/user_login/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7338
7950
|
method: 'GET',
|
@@ -7365,10 +7977,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7365
7977
|
|
7366
7978
|
headerParameters['Content-Type'] = 'application/json';
|
7367
7979
|
|
7368
|
-
if (this.configuration && this.configuration.
|
7369
|
-
|
7370
|
-
|
7980
|
+
if (this.configuration && this.configuration.accessToken) {
|
7981
|
+
const token = this.configuration.accessToken;
|
7982
|
+
const tokenString = await token("authentik", []);
|
7371
7983
|
|
7984
|
+
if (tokenString) {
|
7985
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
7986
|
+
}
|
7987
|
+
}
|
7372
7988
|
const response = await this.request({
|
7373
7989
|
path: `/stages/user_logout/`,
|
7374
7990
|
method: 'POST',
|
@@ -7400,10 +8016,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7400
8016
|
|
7401
8017
|
const headerParameters: runtime.HTTPHeaders = {};
|
7402
8018
|
|
7403
|
-
if (this.configuration && this.configuration.
|
7404
|
-
|
7405
|
-
|
8019
|
+
if (this.configuration && this.configuration.accessToken) {
|
8020
|
+
const token = this.configuration.accessToken;
|
8021
|
+
const tokenString = await token("authentik", []);
|
7406
8022
|
|
8023
|
+
if (tokenString) {
|
8024
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8025
|
+
}
|
8026
|
+
}
|
7407
8027
|
const response = await this.request({
|
7408
8028
|
path: `/stages/user_logout/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7409
8029
|
method: 'DELETE',
|
@@ -7453,10 +8073,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7453
8073
|
|
7454
8074
|
const headerParameters: runtime.HTTPHeaders = {};
|
7455
8075
|
|
7456
|
-
if (this.configuration && this.configuration.
|
7457
|
-
|
7458
|
-
|
8076
|
+
if (this.configuration && this.configuration.accessToken) {
|
8077
|
+
const token = this.configuration.accessToken;
|
8078
|
+
const tokenString = await token("authentik", []);
|
7459
8079
|
|
8080
|
+
if (tokenString) {
|
8081
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8082
|
+
}
|
8083
|
+
}
|
7460
8084
|
const response = await this.request({
|
7461
8085
|
path: `/stages/user_logout/`,
|
7462
8086
|
method: 'GET',
|
@@ -7489,10 +8113,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7489
8113
|
|
7490
8114
|
headerParameters['Content-Type'] = 'application/json';
|
7491
8115
|
|
7492
|
-
if (this.configuration && this.configuration.
|
7493
|
-
|
7494
|
-
|
8116
|
+
if (this.configuration && this.configuration.accessToken) {
|
8117
|
+
const token = this.configuration.accessToken;
|
8118
|
+
const tokenString = await token("authentik", []);
|
7495
8119
|
|
8120
|
+
if (tokenString) {
|
8121
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8122
|
+
}
|
8123
|
+
}
|
7496
8124
|
const response = await this.request({
|
7497
8125
|
path: `/stages/user_logout/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7498
8126
|
method: 'PATCH',
|
@@ -7524,10 +8152,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7524
8152
|
|
7525
8153
|
const headerParameters: runtime.HTTPHeaders = {};
|
7526
8154
|
|
7527
|
-
if (this.configuration && this.configuration.
|
7528
|
-
|
7529
|
-
|
8155
|
+
if (this.configuration && this.configuration.accessToken) {
|
8156
|
+
const token = this.configuration.accessToken;
|
8157
|
+
const tokenString = await token("authentik", []);
|
7530
8158
|
|
8159
|
+
if (tokenString) {
|
8160
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8161
|
+
}
|
8162
|
+
}
|
7531
8163
|
const response = await this.request({
|
7532
8164
|
path: `/stages/user_logout/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7533
8165
|
method: 'GET',
|
@@ -7564,10 +8196,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7564
8196
|
|
7565
8197
|
headerParameters['Content-Type'] = 'application/json';
|
7566
8198
|
|
7567
|
-
if (this.configuration && this.configuration.
|
7568
|
-
|
7569
|
-
|
8199
|
+
if (this.configuration && this.configuration.accessToken) {
|
8200
|
+
const token = this.configuration.accessToken;
|
8201
|
+
const tokenString = await token("authentik", []);
|
7570
8202
|
|
8203
|
+
if (tokenString) {
|
8204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8205
|
+
}
|
8206
|
+
}
|
7571
8207
|
const response = await this.request({
|
7572
8208
|
path: `/stages/user_logout/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7573
8209
|
method: 'PUT',
|
@@ -7599,10 +8235,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7599
8235
|
|
7600
8236
|
const headerParameters: runtime.HTTPHeaders = {};
|
7601
8237
|
|
7602
|
-
if (this.configuration && this.configuration.
|
7603
|
-
|
7604
|
-
|
8238
|
+
if (this.configuration && this.configuration.accessToken) {
|
8239
|
+
const token = this.configuration.accessToken;
|
8240
|
+
const tokenString = await token("authentik", []);
|
7605
8241
|
|
8242
|
+
if (tokenString) {
|
8243
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8244
|
+
}
|
8245
|
+
}
|
7606
8246
|
const response = await this.request({
|
7607
8247
|
path: `/stages/user_logout/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7608
8248
|
method: 'GET',
|
@@ -7635,10 +8275,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7635
8275
|
|
7636
8276
|
headerParameters['Content-Type'] = 'application/json';
|
7637
8277
|
|
7638
|
-
if (this.configuration && this.configuration.
|
7639
|
-
|
7640
|
-
|
8278
|
+
if (this.configuration && this.configuration.accessToken) {
|
8279
|
+
const token = this.configuration.accessToken;
|
8280
|
+
const tokenString = await token("authentik", []);
|
7641
8281
|
|
8282
|
+
if (tokenString) {
|
8283
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8284
|
+
}
|
8285
|
+
}
|
7642
8286
|
const response = await this.request({
|
7643
8287
|
path: `/stages/user_write/`,
|
7644
8288
|
method: 'POST',
|
@@ -7670,10 +8314,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7670
8314
|
|
7671
8315
|
const headerParameters: runtime.HTTPHeaders = {};
|
7672
8316
|
|
7673
|
-
if (this.configuration && this.configuration.
|
7674
|
-
|
7675
|
-
|
8317
|
+
if (this.configuration && this.configuration.accessToken) {
|
8318
|
+
const token = this.configuration.accessToken;
|
8319
|
+
const tokenString = await token("authentik", []);
|
7676
8320
|
|
8321
|
+
if (tokenString) {
|
8322
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8323
|
+
}
|
8324
|
+
}
|
7677
8325
|
const response = await this.request({
|
7678
8326
|
path: `/stages/user_write/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7679
8327
|
method: 'DELETE',
|
@@ -7743,10 +8391,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7743
8391
|
|
7744
8392
|
const headerParameters: runtime.HTTPHeaders = {};
|
7745
8393
|
|
7746
|
-
if (this.configuration && this.configuration.
|
7747
|
-
|
7748
|
-
|
8394
|
+
if (this.configuration && this.configuration.accessToken) {
|
8395
|
+
const token = this.configuration.accessToken;
|
8396
|
+
const tokenString = await token("authentik", []);
|
7749
8397
|
|
8398
|
+
if (tokenString) {
|
8399
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8400
|
+
}
|
8401
|
+
}
|
7750
8402
|
const response = await this.request({
|
7751
8403
|
path: `/stages/user_write/`,
|
7752
8404
|
method: 'GET',
|
@@ -7779,10 +8431,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7779
8431
|
|
7780
8432
|
headerParameters['Content-Type'] = 'application/json';
|
7781
8433
|
|
7782
|
-
if (this.configuration && this.configuration.
|
7783
|
-
|
7784
|
-
|
8434
|
+
if (this.configuration && this.configuration.accessToken) {
|
8435
|
+
const token = this.configuration.accessToken;
|
8436
|
+
const tokenString = await token("authentik", []);
|
7785
8437
|
|
8438
|
+
if (tokenString) {
|
8439
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8440
|
+
}
|
8441
|
+
}
|
7786
8442
|
const response = await this.request({
|
7787
8443
|
path: `/stages/user_write/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7788
8444
|
method: 'PATCH',
|
@@ -7814,10 +8470,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7814
8470
|
|
7815
8471
|
const headerParameters: runtime.HTTPHeaders = {};
|
7816
8472
|
|
7817
|
-
if (this.configuration && this.configuration.
|
7818
|
-
|
7819
|
-
|
8473
|
+
if (this.configuration && this.configuration.accessToken) {
|
8474
|
+
const token = this.configuration.accessToken;
|
8475
|
+
const tokenString = await token("authentik", []);
|
7820
8476
|
|
8477
|
+
if (tokenString) {
|
8478
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8479
|
+
}
|
8480
|
+
}
|
7821
8481
|
const response = await this.request({
|
7822
8482
|
path: `/stages/user_write/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7823
8483
|
method: 'GET',
|
@@ -7854,10 +8514,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7854
8514
|
|
7855
8515
|
headerParameters['Content-Type'] = 'application/json';
|
7856
8516
|
|
7857
|
-
if (this.configuration && this.configuration.
|
7858
|
-
|
7859
|
-
|
8517
|
+
if (this.configuration && this.configuration.accessToken) {
|
8518
|
+
const token = this.configuration.accessToken;
|
8519
|
+
const tokenString = await token("authentik", []);
|
7860
8520
|
|
8521
|
+
if (tokenString) {
|
8522
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8523
|
+
}
|
8524
|
+
}
|
7861
8525
|
const response = await this.request({
|
7862
8526
|
path: `/stages/user_write/{stage_uuid}/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7863
8527
|
method: 'PUT',
|
@@ -7889,10 +8553,14 @@ export class StagesApi extends runtime.BaseAPI {
|
|
7889
8553
|
|
7890
8554
|
const headerParameters: runtime.HTTPHeaders = {};
|
7891
8555
|
|
7892
|
-
if (this.configuration && this.configuration.
|
7893
|
-
|
7894
|
-
|
8556
|
+
if (this.configuration && this.configuration.accessToken) {
|
8557
|
+
const token = this.configuration.accessToken;
|
8558
|
+
const tokenString = await token("authentik", []);
|
7895
8559
|
|
8560
|
+
if (tokenString) {
|
8561
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
8562
|
+
}
|
8563
|
+
}
|
7896
8564
|
const response = await this.request({
|
7897
8565
|
path: `/stages/user_write/{stage_uuid}/used_by/`.replace(`{${"stage_uuid"}}`, encodeURIComponent(String(requestParameters.stageUuid))),
|
7898
8566
|
method: 'GET',
|