@goauthentik/api 2024.6.3-1722881330 → 2024.6.3-1723032607
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +8 -0
- package/dist/apis/PoliciesApi.d.ts +92 -1
- package/dist/apis/PoliciesApi.js +297 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/esm/apis/PoliciesApi.d.ts +92 -1
- package/dist/esm/apis/PoliciesApi.js +298 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/CountryCodeEnum.d.ts +271 -0
- package/dist/esm/models/CountryCodeEnum.js +278 -0
- package/dist/esm/models/DetailedCountry.d.ts +38 -0
- package/dist/esm/models/DetailedCountry.js +47 -0
- package/dist/esm/models/DetailedCountryField.d.ts +38 -0
- package/dist/esm/models/DetailedCountryField.js +47 -0
- package/dist/esm/models/DetailedCountryFieldRequest.d.ts +38 -0
- package/dist/esm/models/DetailedCountryFieldRequest.js +47 -0
- package/dist/esm/models/Device.d.ts +18 -0
- package/dist/esm/models/Device.js +6 -0
- package/dist/esm/models/GeoIPPolicy.d.ts +93 -0
- package/dist/esm/models/GeoIPPolicy.js +67 -0
- package/dist/esm/models/GeoIPPolicyRequest.d.ts +50 -0
- package/dist/esm/models/GeoIPPolicyRequest.js +52 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedGeoIPPolicyList.d.ts +39 -0
- package/dist/esm/models/PaginatedGeoIPPolicyList.js +48 -0
- package/dist/esm/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
- package/dist/esm/models/PatchedGeoIPPolicyRequest.js +50 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/CountryCodeEnum.d.ts +271 -0
- package/dist/models/CountryCodeEnum.js +284 -0
- package/dist/models/DetailedCountry.d.ts +38 -0
- package/dist/models/DetailedCountry.js +54 -0
- package/dist/models/DetailedCountryField.d.ts +38 -0
- package/dist/models/DetailedCountryField.js +54 -0
- package/dist/models/DetailedCountryFieldRequest.d.ts +38 -0
- package/dist/models/DetailedCountryFieldRequest.js +54 -0
- package/dist/models/Device.d.ts +18 -0
- package/dist/models/Device.js +6 -0
- package/dist/models/GeoIPPolicy.d.ts +93 -0
- package/dist/models/GeoIPPolicy.js +74 -0
- package/dist/models/GeoIPPolicyRequest.d.ts +50 -0
- package/dist/models/GeoIPPolicyRequest.js +59 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedGeoIPPolicyList.d.ts +39 -0
- package/dist/models/PaginatedGeoIPPolicyList.js +55 -0
- package/dist/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
- package/dist/models/PatchedGeoIPPolicyRequest.js +57 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/PoliciesApi.ts +377 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/CountryCodeEnum.ts +286 -0
- package/src/models/DetailedCountry.ts +82 -0
- package/src/models/DetailedCountryField.ts +82 -0
- package/src/models/DetailedCountryFieldRequest.ts +82 -0
- package/src/models/Device.ts +24 -0
- package/src/models/GeoIPPolicy.ts +160 -0
- package/src/models/GeoIPPolicyRequest.ts +98 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedGeoIPPolicyList.ts +88 -0
- package/src/models/PatchedGeoIPPolicyRequest.ts +96 -0
- package/src/models/index.ts +8 -0
package/.openapi-generator/FILES
CHANGED
@@ -104,10 +104,14 @@ src/models/ConsentStageRequest.ts
|
|
104
104
|
src/models/ContextualFlowInfo.ts
|
105
105
|
src/models/ContextualFlowInfoLayoutEnum.ts
|
106
106
|
src/models/Coordinate.ts
|
107
|
+
src/models/CountryCodeEnum.ts
|
107
108
|
src/models/CurrentBrand.ts
|
108
109
|
src/models/DeniedActionEnum.ts
|
109
110
|
src/models/DenyStage.ts
|
110
111
|
src/models/DenyStageRequest.ts
|
112
|
+
src/models/DetailedCountry.ts
|
113
|
+
src/models/DetailedCountryField.ts
|
114
|
+
src/models/DetailedCountryFieldRequest.ts
|
111
115
|
src/models/Device.ts
|
112
116
|
src/models/DeviceChallenge.ts
|
113
117
|
src/models/DeviceChallengeRequest.ts
|
@@ -166,6 +170,8 @@ src/models/FlowStageBinding.ts
|
|
166
170
|
src/models/FlowStageBindingRequest.ts
|
167
171
|
src/models/FooterLink.ts
|
168
172
|
src/models/GenericError.ts
|
173
|
+
src/models/GeoIPPolicy.ts
|
174
|
+
src/models/GeoIPPolicyRequest.ts
|
169
175
|
src/models/GeoipBindingEnum.ts
|
170
176
|
src/models/GoogleWorkspaceProvider.ts
|
171
177
|
src/models/GoogleWorkspaceProviderGroup.ts
|
@@ -282,6 +288,7 @@ src/models/PaginatedExtraRoleObjectPermissionList.ts
|
|
282
288
|
src/models/PaginatedExtraUserObjectPermissionList.ts
|
283
289
|
src/models/PaginatedFlowList.ts
|
284
290
|
src/models/PaginatedFlowStageBindingList.ts
|
291
|
+
src/models/PaginatedGeoIPPolicyList.ts
|
285
292
|
src/models/PaginatedGoogleWorkspaceProviderGroupList.ts
|
286
293
|
src/models/PaginatedGoogleWorkspaceProviderList.ts
|
287
294
|
src/models/PaginatedGoogleWorkspaceProviderMappingList.ts
|
@@ -402,6 +409,7 @@ src/models/PatchedExtraRoleObjectPermissionRequest.ts
|
|
402
409
|
src/models/PatchedExtraUserObjectPermissionRequest.ts
|
403
410
|
src/models/PatchedFlowRequest.ts
|
404
411
|
src/models/PatchedFlowStageBindingRequest.ts
|
412
|
+
src/models/PatchedGeoIPPolicyRequest.ts
|
405
413
|
src/models/PatchedGoogleWorkspaceProviderMappingRequest.ts
|
406
414
|
src/models/PatchedGoogleWorkspaceProviderRequest.ts
|
407
415
|
src/models/PatchedGroupRequest.ts
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import * as runtime from '../runtime';
|
13
|
-
import type { Cache, DummyPolicy, DummyPolicyRequest, EventMatcherPolicy, EventMatcherPolicyRequest, ExpressionPolicy, ExpressionPolicyRequest, PaginatedDummyPolicyList, PaginatedEventMatcherPolicyList, PaginatedExpressionPolicyList, PaginatedPasswordExpiryPolicyList, PaginatedPasswordPolicyList, PaginatedPolicyBindingList, PaginatedPolicyList, PaginatedReputationList, PaginatedReputationPolicyList, PasswordExpiryPolicy, PasswordExpiryPolicyRequest, PasswordPolicy, PasswordPolicyRequest, PatchedDummyPolicyRequest, PatchedEventMatcherPolicyRequest, PatchedExpressionPolicyRequest, PatchedPasswordExpiryPolicyRequest, PatchedPasswordPolicyRequest, PatchedPolicyBindingRequest, PatchedReputationPolicyRequest, Policy, PolicyBinding, PolicyBindingRequest, PolicyTestRequest, PolicyTestResult, Reputation, ReputationPolicy, ReputationPolicyRequest, TypeCreate, UsedBy } from '../models';
|
13
|
+
import type { Cache, DetailedCountry, DummyPolicy, DummyPolicyRequest, EventMatcherPolicy, EventMatcherPolicyRequest, ExpressionPolicy, ExpressionPolicyRequest, GeoIPPolicy, GeoIPPolicyRequest, PaginatedDummyPolicyList, PaginatedEventMatcherPolicyList, PaginatedExpressionPolicyList, PaginatedGeoIPPolicyList, PaginatedPasswordExpiryPolicyList, PaginatedPasswordPolicyList, PaginatedPolicyBindingList, PaginatedPolicyList, PaginatedReputationList, PaginatedReputationPolicyList, PasswordExpiryPolicy, PasswordExpiryPolicyRequest, PasswordPolicy, PasswordPolicyRequest, PatchedDummyPolicyRequest, PatchedEventMatcherPolicyRequest, PatchedExpressionPolicyRequest, PatchedGeoIPPolicyRequest, PatchedPasswordExpiryPolicyRequest, PatchedPasswordPolicyRequest, PatchedPolicyBindingRequest, PatchedReputationPolicyRequest, Policy, PolicyBinding, PolicyBindingRequest, PolicyTestRequest, PolicyTestResult, Reputation, ReputationPolicy, ReputationPolicyRequest, TypeCreate, UsedBy } from '../models';
|
14
14
|
export interface PoliciesAllDestroyRequest {
|
15
15
|
policyUuid: string;
|
16
16
|
}
|
@@ -166,6 +166,33 @@ export interface PoliciesExpressionUpdateRequest {
|
|
166
166
|
export interface PoliciesExpressionUsedByListRequest {
|
167
167
|
policyUuid: string;
|
168
168
|
}
|
169
|
+
export interface PoliciesGeoipCreateRequest {
|
170
|
+
geoIPPolicyRequest: GeoIPPolicyRequest;
|
171
|
+
}
|
172
|
+
export interface PoliciesGeoipDestroyRequest {
|
173
|
+
policyUuid: string;
|
174
|
+
}
|
175
|
+
export interface PoliciesGeoipListRequest {
|
176
|
+
name?: string;
|
177
|
+
ordering?: string;
|
178
|
+
page?: number;
|
179
|
+
pageSize?: number;
|
180
|
+
search?: string;
|
181
|
+
}
|
182
|
+
export interface PoliciesGeoipPartialUpdateRequest {
|
183
|
+
policyUuid: string;
|
184
|
+
patchedGeoIPPolicyRequest?: PatchedGeoIPPolicyRequest;
|
185
|
+
}
|
186
|
+
export interface PoliciesGeoipRetrieveRequest {
|
187
|
+
policyUuid: string;
|
188
|
+
}
|
189
|
+
export interface PoliciesGeoipUpdateRequest {
|
190
|
+
policyUuid: string;
|
191
|
+
geoIPPolicyRequest: GeoIPPolicyRequest;
|
192
|
+
}
|
193
|
+
export interface PoliciesGeoipUsedByListRequest {
|
194
|
+
policyUuid: string;
|
195
|
+
}
|
169
196
|
export interface PoliciesPasswordCreateRequest {
|
170
197
|
passwordPolicyRequest: PasswordPolicyRequest;
|
171
198
|
}
|
@@ -588,6 +615,70 @@ export declare class PoliciesApi extends runtime.BaseAPI {
|
|
588
615
|
* Get a list of all objects that use this object
|
589
616
|
*/
|
590
617
|
policiesExpressionUsedByList(requestParameters: PoliciesExpressionUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
618
|
+
/**
|
619
|
+
* GeoIP Viewset
|
620
|
+
*/
|
621
|
+
policiesGeoipCreateRaw(requestParameters: PoliciesGeoipCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
622
|
+
/**
|
623
|
+
* GeoIP Viewset
|
624
|
+
*/
|
625
|
+
policiesGeoipCreate(requestParameters: PoliciesGeoipCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
626
|
+
/**
|
627
|
+
* GeoIP Viewset
|
628
|
+
*/
|
629
|
+
policiesGeoipDestroyRaw(requestParameters: PoliciesGeoipDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
630
|
+
/**
|
631
|
+
* GeoIP Viewset
|
632
|
+
*/
|
633
|
+
policiesGeoipDestroy(requestParameters: PoliciesGeoipDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
634
|
+
/**
|
635
|
+
* Get all countries in ISO-3166-1
|
636
|
+
*/
|
637
|
+
policiesGeoipIso3166ListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DetailedCountry>>>;
|
638
|
+
/**
|
639
|
+
* Get all countries in ISO-3166-1
|
640
|
+
*/
|
641
|
+
policiesGeoipIso3166List(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DetailedCountry>>;
|
642
|
+
/**
|
643
|
+
* GeoIP Viewset
|
644
|
+
*/
|
645
|
+
policiesGeoipListRaw(requestParameters: PoliciesGeoipListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedGeoIPPolicyList>>;
|
646
|
+
/**
|
647
|
+
* GeoIP Viewset
|
648
|
+
*/
|
649
|
+
policiesGeoipList(requestParameters?: PoliciesGeoipListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedGeoIPPolicyList>;
|
650
|
+
/**
|
651
|
+
* GeoIP Viewset
|
652
|
+
*/
|
653
|
+
policiesGeoipPartialUpdateRaw(requestParameters: PoliciesGeoipPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
654
|
+
/**
|
655
|
+
* GeoIP Viewset
|
656
|
+
*/
|
657
|
+
policiesGeoipPartialUpdate(requestParameters: PoliciesGeoipPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
658
|
+
/**
|
659
|
+
* GeoIP Viewset
|
660
|
+
*/
|
661
|
+
policiesGeoipRetrieveRaw(requestParameters: PoliciesGeoipRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
662
|
+
/**
|
663
|
+
* GeoIP Viewset
|
664
|
+
*/
|
665
|
+
policiesGeoipRetrieve(requestParameters: PoliciesGeoipRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
666
|
+
/**
|
667
|
+
* GeoIP Viewset
|
668
|
+
*/
|
669
|
+
policiesGeoipUpdateRaw(requestParameters: PoliciesGeoipUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
670
|
+
/**
|
671
|
+
* GeoIP Viewset
|
672
|
+
*/
|
673
|
+
policiesGeoipUpdate(requestParameters: PoliciesGeoipUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
674
|
+
/**
|
675
|
+
* Get a list of all objects that use this object
|
676
|
+
*/
|
677
|
+
policiesGeoipUsedByListRaw(requestParameters: PoliciesGeoipUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
|
678
|
+
/**
|
679
|
+
* Get a list of all objects that use this object
|
680
|
+
*/
|
681
|
+
policiesGeoipUsedByList(requestParameters: PoliciesGeoipUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
591
682
|
/**
|
592
683
|
* Password Policy Viewset
|
593
684
|
*/
|
package/dist/apis/PoliciesApi.js
CHANGED
@@ -1456,6 +1456,303 @@ class PoliciesApi extends runtime.BaseAPI {
|
|
1456
1456
|
return yield response.value();
|
1457
1457
|
});
|
1458
1458
|
}
|
1459
|
+
/**
|
1460
|
+
* GeoIP Viewset
|
1461
|
+
*/
|
1462
|
+
policiesGeoipCreateRaw(requestParameters, initOverrides) {
|
1463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1464
|
+
if (requestParameters.geoIPPolicyRequest === null || requestParameters.geoIPPolicyRequest === undefined) {
|
1465
|
+
throw new runtime.RequiredError('geoIPPolicyRequest', 'Required parameter requestParameters.geoIPPolicyRequest was null or undefined when calling policiesGeoipCreate.');
|
1466
|
+
}
|
1467
|
+
const queryParameters = {};
|
1468
|
+
const headerParameters = {};
|
1469
|
+
headerParameters['Content-Type'] = 'application/json';
|
1470
|
+
if (this.configuration && this.configuration.accessToken) {
|
1471
|
+
const token = this.configuration.accessToken;
|
1472
|
+
const tokenString = yield token("authentik", []);
|
1473
|
+
if (tokenString) {
|
1474
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1475
|
+
}
|
1476
|
+
}
|
1477
|
+
const response = yield this.request({
|
1478
|
+
path: `/policies/geoip/`,
|
1479
|
+
method: 'POST',
|
1480
|
+
headers: headerParameters,
|
1481
|
+
query: queryParameters,
|
1482
|
+
body: (0, models_1.GeoIPPolicyRequestToJSON)(requestParameters.geoIPPolicyRequest),
|
1483
|
+
}, initOverrides);
|
1484
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GeoIPPolicyFromJSON)(jsonValue));
|
1485
|
+
});
|
1486
|
+
}
|
1487
|
+
/**
|
1488
|
+
* GeoIP Viewset
|
1489
|
+
*/
|
1490
|
+
policiesGeoipCreate(requestParameters, initOverrides) {
|
1491
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1492
|
+
const response = yield this.policiesGeoipCreateRaw(requestParameters, initOverrides);
|
1493
|
+
return yield response.value();
|
1494
|
+
});
|
1495
|
+
}
|
1496
|
+
/**
|
1497
|
+
* GeoIP Viewset
|
1498
|
+
*/
|
1499
|
+
policiesGeoipDestroyRaw(requestParameters, initOverrides) {
|
1500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1501
|
+
if (requestParameters.policyUuid === null || requestParameters.policyUuid === undefined) {
|
1502
|
+
throw new runtime.RequiredError('policyUuid', 'Required parameter requestParameters.policyUuid was null or undefined when calling policiesGeoipDestroy.');
|
1503
|
+
}
|
1504
|
+
const queryParameters = {};
|
1505
|
+
const headerParameters = {};
|
1506
|
+
if (this.configuration && this.configuration.accessToken) {
|
1507
|
+
const token = this.configuration.accessToken;
|
1508
|
+
const tokenString = yield token("authentik", []);
|
1509
|
+
if (tokenString) {
|
1510
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1511
|
+
}
|
1512
|
+
}
|
1513
|
+
const response = yield this.request({
|
1514
|
+
path: `/policies/geoip/{policy_uuid}/`.replace(`{${"policy_uuid"}}`, encodeURIComponent(String(requestParameters.policyUuid))),
|
1515
|
+
method: 'DELETE',
|
1516
|
+
headers: headerParameters,
|
1517
|
+
query: queryParameters,
|
1518
|
+
}, initOverrides);
|
1519
|
+
return new runtime.VoidApiResponse(response);
|
1520
|
+
});
|
1521
|
+
}
|
1522
|
+
/**
|
1523
|
+
* GeoIP Viewset
|
1524
|
+
*/
|
1525
|
+
policiesGeoipDestroy(requestParameters, initOverrides) {
|
1526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1527
|
+
yield this.policiesGeoipDestroyRaw(requestParameters, initOverrides);
|
1528
|
+
});
|
1529
|
+
}
|
1530
|
+
/**
|
1531
|
+
* Get all countries in ISO-3166-1
|
1532
|
+
*/
|
1533
|
+
policiesGeoipIso3166ListRaw(initOverrides) {
|
1534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1535
|
+
const queryParameters = {};
|
1536
|
+
const headerParameters = {};
|
1537
|
+
if (this.configuration && this.configuration.accessToken) {
|
1538
|
+
const token = this.configuration.accessToken;
|
1539
|
+
const tokenString = yield token("authentik", []);
|
1540
|
+
if (tokenString) {
|
1541
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1542
|
+
}
|
1543
|
+
}
|
1544
|
+
const response = yield this.request({
|
1545
|
+
path: `/policies/geoip_iso3166/`,
|
1546
|
+
method: 'GET',
|
1547
|
+
headers: headerParameters,
|
1548
|
+
query: queryParameters,
|
1549
|
+
}, initOverrides);
|
1550
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.DetailedCountryFromJSON));
|
1551
|
+
});
|
1552
|
+
}
|
1553
|
+
/**
|
1554
|
+
* Get all countries in ISO-3166-1
|
1555
|
+
*/
|
1556
|
+
policiesGeoipIso3166List(initOverrides) {
|
1557
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1558
|
+
const response = yield this.policiesGeoipIso3166ListRaw(initOverrides);
|
1559
|
+
return yield response.value();
|
1560
|
+
});
|
1561
|
+
}
|
1562
|
+
/**
|
1563
|
+
* GeoIP Viewset
|
1564
|
+
*/
|
1565
|
+
policiesGeoipListRaw(requestParameters, initOverrides) {
|
1566
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1567
|
+
const queryParameters = {};
|
1568
|
+
if (requestParameters.name !== undefined) {
|
1569
|
+
queryParameters['name'] = requestParameters.name;
|
1570
|
+
}
|
1571
|
+
if (requestParameters.ordering !== undefined) {
|
1572
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
1573
|
+
}
|
1574
|
+
if (requestParameters.page !== undefined) {
|
1575
|
+
queryParameters['page'] = requestParameters.page;
|
1576
|
+
}
|
1577
|
+
if (requestParameters.pageSize !== undefined) {
|
1578
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
1579
|
+
}
|
1580
|
+
if (requestParameters.search !== undefined) {
|
1581
|
+
queryParameters['search'] = requestParameters.search;
|
1582
|
+
}
|
1583
|
+
const headerParameters = {};
|
1584
|
+
if (this.configuration && this.configuration.accessToken) {
|
1585
|
+
const token = this.configuration.accessToken;
|
1586
|
+
const tokenString = yield token("authentik", []);
|
1587
|
+
if (tokenString) {
|
1588
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1589
|
+
}
|
1590
|
+
}
|
1591
|
+
const response = yield this.request({
|
1592
|
+
path: `/policies/geoip/`,
|
1593
|
+
method: 'GET',
|
1594
|
+
headers: headerParameters,
|
1595
|
+
query: queryParameters,
|
1596
|
+
}, initOverrides);
|
1597
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PaginatedGeoIPPolicyListFromJSON)(jsonValue));
|
1598
|
+
});
|
1599
|
+
}
|
1600
|
+
/**
|
1601
|
+
* GeoIP Viewset
|
1602
|
+
*/
|
1603
|
+
policiesGeoipList(requestParameters = {}, initOverrides) {
|
1604
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1605
|
+
const response = yield this.policiesGeoipListRaw(requestParameters, initOverrides);
|
1606
|
+
return yield response.value();
|
1607
|
+
});
|
1608
|
+
}
|
1609
|
+
/**
|
1610
|
+
* GeoIP Viewset
|
1611
|
+
*/
|
1612
|
+
policiesGeoipPartialUpdateRaw(requestParameters, initOverrides) {
|
1613
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1614
|
+
if (requestParameters.policyUuid === null || requestParameters.policyUuid === undefined) {
|
1615
|
+
throw new runtime.RequiredError('policyUuid', 'Required parameter requestParameters.policyUuid was null or undefined when calling policiesGeoipPartialUpdate.');
|
1616
|
+
}
|
1617
|
+
const queryParameters = {};
|
1618
|
+
const headerParameters = {};
|
1619
|
+
headerParameters['Content-Type'] = 'application/json';
|
1620
|
+
if (this.configuration && this.configuration.accessToken) {
|
1621
|
+
const token = this.configuration.accessToken;
|
1622
|
+
const tokenString = yield token("authentik", []);
|
1623
|
+
if (tokenString) {
|
1624
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1625
|
+
}
|
1626
|
+
}
|
1627
|
+
const response = yield this.request({
|
1628
|
+
path: `/policies/geoip/{policy_uuid}/`.replace(`{${"policy_uuid"}}`, encodeURIComponent(String(requestParameters.policyUuid))),
|
1629
|
+
method: 'PATCH',
|
1630
|
+
headers: headerParameters,
|
1631
|
+
query: queryParameters,
|
1632
|
+
body: (0, models_1.PatchedGeoIPPolicyRequestToJSON)(requestParameters.patchedGeoIPPolicyRequest),
|
1633
|
+
}, initOverrides);
|
1634
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GeoIPPolicyFromJSON)(jsonValue));
|
1635
|
+
});
|
1636
|
+
}
|
1637
|
+
/**
|
1638
|
+
* GeoIP Viewset
|
1639
|
+
*/
|
1640
|
+
policiesGeoipPartialUpdate(requestParameters, initOverrides) {
|
1641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1642
|
+
const response = yield this.policiesGeoipPartialUpdateRaw(requestParameters, initOverrides);
|
1643
|
+
return yield response.value();
|
1644
|
+
});
|
1645
|
+
}
|
1646
|
+
/**
|
1647
|
+
* GeoIP Viewset
|
1648
|
+
*/
|
1649
|
+
policiesGeoipRetrieveRaw(requestParameters, initOverrides) {
|
1650
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1651
|
+
if (requestParameters.policyUuid === null || requestParameters.policyUuid === undefined) {
|
1652
|
+
throw new runtime.RequiredError('policyUuid', 'Required parameter requestParameters.policyUuid was null or undefined when calling policiesGeoipRetrieve.');
|
1653
|
+
}
|
1654
|
+
const queryParameters = {};
|
1655
|
+
const headerParameters = {};
|
1656
|
+
if (this.configuration && this.configuration.accessToken) {
|
1657
|
+
const token = this.configuration.accessToken;
|
1658
|
+
const tokenString = yield token("authentik", []);
|
1659
|
+
if (tokenString) {
|
1660
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1661
|
+
}
|
1662
|
+
}
|
1663
|
+
const response = yield this.request({
|
1664
|
+
path: `/policies/geoip/{policy_uuid}/`.replace(`{${"policy_uuid"}}`, encodeURIComponent(String(requestParameters.policyUuid))),
|
1665
|
+
method: 'GET',
|
1666
|
+
headers: headerParameters,
|
1667
|
+
query: queryParameters,
|
1668
|
+
}, initOverrides);
|
1669
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GeoIPPolicyFromJSON)(jsonValue));
|
1670
|
+
});
|
1671
|
+
}
|
1672
|
+
/**
|
1673
|
+
* GeoIP Viewset
|
1674
|
+
*/
|
1675
|
+
policiesGeoipRetrieve(requestParameters, initOverrides) {
|
1676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1677
|
+
const response = yield this.policiesGeoipRetrieveRaw(requestParameters, initOverrides);
|
1678
|
+
return yield response.value();
|
1679
|
+
});
|
1680
|
+
}
|
1681
|
+
/**
|
1682
|
+
* GeoIP Viewset
|
1683
|
+
*/
|
1684
|
+
policiesGeoipUpdateRaw(requestParameters, initOverrides) {
|
1685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1686
|
+
if (requestParameters.policyUuid === null || requestParameters.policyUuid === undefined) {
|
1687
|
+
throw new runtime.RequiredError('policyUuid', 'Required parameter requestParameters.policyUuid was null or undefined when calling policiesGeoipUpdate.');
|
1688
|
+
}
|
1689
|
+
if (requestParameters.geoIPPolicyRequest === null || requestParameters.geoIPPolicyRequest === undefined) {
|
1690
|
+
throw new runtime.RequiredError('geoIPPolicyRequest', 'Required parameter requestParameters.geoIPPolicyRequest was null or undefined when calling policiesGeoipUpdate.');
|
1691
|
+
}
|
1692
|
+
const queryParameters = {};
|
1693
|
+
const headerParameters = {};
|
1694
|
+
headerParameters['Content-Type'] = 'application/json';
|
1695
|
+
if (this.configuration && this.configuration.accessToken) {
|
1696
|
+
const token = this.configuration.accessToken;
|
1697
|
+
const tokenString = yield token("authentik", []);
|
1698
|
+
if (tokenString) {
|
1699
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1700
|
+
}
|
1701
|
+
}
|
1702
|
+
const response = yield this.request({
|
1703
|
+
path: `/policies/geoip/{policy_uuid}/`.replace(`{${"policy_uuid"}}`, encodeURIComponent(String(requestParameters.policyUuid))),
|
1704
|
+
method: 'PUT',
|
1705
|
+
headers: headerParameters,
|
1706
|
+
query: queryParameters,
|
1707
|
+
body: (0, models_1.GeoIPPolicyRequestToJSON)(requestParameters.geoIPPolicyRequest),
|
1708
|
+
}, initOverrides);
|
1709
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.GeoIPPolicyFromJSON)(jsonValue));
|
1710
|
+
});
|
1711
|
+
}
|
1712
|
+
/**
|
1713
|
+
* GeoIP Viewset
|
1714
|
+
*/
|
1715
|
+
policiesGeoipUpdate(requestParameters, initOverrides) {
|
1716
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1717
|
+
const response = yield this.policiesGeoipUpdateRaw(requestParameters, initOverrides);
|
1718
|
+
return yield response.value();
|
1719
|
+
});
|
1720
|
+
}
|
1721
|
+
/**
|
1722
|
+
* Get a list of all objects that use this object
|
1723
|
+
*/
|
1724
|
+
policiesGeoipUsedByListRaw(requestParameters, initOverrides) {
|
1725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1726
|
+
if (requestParameters.policyUuid === null || requestParameters.policyUuid === undefined) {
|
1727
|
+
throw new runtime.RequiredError('policyUuid', 'Required parameter requestParameters.policyUuid was null or undefined when calling policiesGeoipUsedByList.');
|
1728
|
+
}
|
1729
|
+
const queryParameters = {};
|
1730
|
+
const headerParameters = {};
|
1731
|
+
if (this.configuration && this.configuration.accessToken) {
|
1732
|
+
const token = this.configuration.accessToken;
|
1733
|
+
const tokenString = yield token("authentik", []);
|
1734
|
+
if (tokenString) {
|
1735
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1736
|
+
}
|
1737
|
+
}
|
1738
|
+
const response = yield this.request({
|
1739
|
+
path: `/policies/geoip/{policy_uuid}/used_by/`.replace(`{${"policy_uuid"}}`, encodeURIComponent(String(requestParameters.policyUuid))),
|
1740
|
+
method: 'GET',
|
1741
|
+
headers: headerParameters,
|
1742
|
+
query: queryParameters,
|
1743
|
+
}, initOverrides);
|
1744
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.UsedByFromJSON));
|
1745
|
+
});
|
1746
|
+
}
|
1747
|
+
/**
|
1748
|
+
* Get a list of all objects that use this object
|
1749
|
+
*/
|
1750
|
+
policiesGeoipUsedByList(requestParameters, initOverrides) {
|
1751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1752
|
+
const response = yield this.policiesGeoipUsedByListRaw(requestParameters, initOverrides);
|
1753
|
+
return yield response.value();
|
1754
|
+
});
|
1755
|
+
}
|
1459
1756
|
/**
|
1460
1757
|
* Password Policy Viewset
|
1461
1758
|
*/
|
package/dist/apis/RbacApi.d.ts
CHANGED
@@ -358,6 +358,7 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
|
|
358
358
|
readonly PoliciesEventMatcherEventmatcherpolicy: "authentik_policies_event_matcher.eventmatcherpolicy";
|
359
359
|
readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
|
360
360
|
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
361
|
+
readonly PoliciesGeoipGeoippolicy: "authentik_policies_geoip.geoippolicy";
|
361
362
|
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
362
363
|
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
363
364
|
readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
|
@@ -447,6 +448,7 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
|
|
447
448
|
readonly PoliciesEventMatcherEventmatcherpolicy: "authentik_policies_event_matcher.eventmatcherpolicy";
|
448
449
|
readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
|
449
450
|
readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
|
451
|
+
readonly PoliciesGeoipGeoippolicy: "authentik_policies_geoip.geoippolicy";
|
450
452
|
readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
|
451
453
|
readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
|
452
454
|
readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
|
package/dist/apis/RbacApi.js
CHANGED
@@ -1061,6 +1061,7 @@ exports.RbacPermissionsAssignedByRolesListModelEnum = {
|
|
1061
1061
|
PoliciesEventMatcherEventmatcherpolicy: 'authentik_policies_event_matcher.eventmatcherpolicy',
|
1062
1062
|
PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
|
1063
1063
|
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
1064
|
+
PoliciesGeoipGeoippolicy: 'authentik_policies_geoip.geoippolicy',
|
1064
1065
|
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
1065
1066
|
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
1066
1067
|
ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
@@ -1149,6 +1150,7 @@ exports.RbacPermissionsAssignedByUsersListModelEnum = {
|
|
1149
1150
|
PoliciesEventMatcherEventmatcherpolicy: 'authentik_policies_event_matcher.eventmatcherpolicy',
|
1150
1151
|
PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
|
1151
1152
|
PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
|
1153
|
+
PoliciesGeoipGeoippolicy: 'authentik_policies_geoip.geoippolicy',
|
1152
1154
|
PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
|
1153
1155
|
PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
|
1154
1156
|
ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import * as runtime from '../runtime';
|
13
|
-
import type { Cache, DummyPolicy, DummyPolicyRequest, EventMatcherPolicy, EventMatcherPolicyRequest, ExpressionPolicy, ExpressionPolicyRequest, PaginatedDummyPolicyList, PaginatedEventMatcherPolicyList, PaginatedExpressionPolicyList, PaginatedPasswordExpiryPolicyList, PaginatedPasswordPolicyList, PaginatedPolicyBindingList, PaginatedPolicyList, PaginatedReputationList, PaginatedReputationPolicyList, PasswordExpiryPolicy, PasswordExpiryPolicyRequest, PasswordPolicy, PasswordPolicyRequest, PatchedDummyPolicyRequest, PatchedEventMatcherPolicyRequest, PatchedExpressionPolicyRequest, PatchedPasswordExpiryPolicyRequest, PatchedPasswordPolicyRequest, PatchedPolicyBindingRequest, PatchedReputationPolicyRequest, Policy, PolicyBinding, PolicyBindingRequest, PolicyTestRequest, PolicyTestResult, Reputation, ReputationPolicy, ReputationPolicyRequest, TypeCreate, UsedBy } from '../models';
|
13
|
+
import type { Cache, DetailedCountry, DummyPolicy, DummyPolicyRequest, EventMatcherPolicy, EventMatcherPolicyRequest, ExpressionPolicy, ExpressionPolicyRequest, GeoIPPolicy, GeoIPPolicyRequest, PaginatedDummyPolicyList, PaginatedEventMatcherPolicyList, PaginatedExpressionPolicyList, PaginatedGeoIPPolicyList, PaginatedPasswordExpiryPolicyList, PaginatedPasswordPolicyList, PaginatedPolicyBindingList, PaginatedPolicyList, PaginatedReputationList, PaginatedReputationPolicyList, PasswordExpiryPolicy, PasswordExpiryPolicyRequest, PasswordPolicy, PasswordPolicyRequest, PatchedDummyPolicyRequest, PatchedEventMatcherPolicyRequest, PatchedExpressionPolicyRequest, PatchedGeoIPPolicyRequest, PatchedPasswordExpiryPolicyRequest, PatchedPasswordPolicyRequest, PatchedPolicyBindingRequest, PatchedReputationPolicyRequest, Policy, PolicyBinding, PolicyBindingRequest, PolicyTestRequest, PolicyTestResult, Reputation, ReputationPolicy, ReputationPolicyRequest, TypeCreate, UsedBy } from '../models';
|
14
14
|
export interface PoliciesAllDestroyRequest {
|
15
15
|
policyUuid: string;
|
16
16
|
}
|
@@ -166,6 +166,33 @@ export interface PoliciesExpressionUpdateRequest {
|
|
166
166
|
export interface PoliciesExpressionUsedByListRequest {
|
167
167
|
policyUuid: string;
|
168
168
|
}
|
169
|
+
export interface PoliciesGeoipCreateRequest {
|
170
|
+
geoIPPolicyRequest: GeoIPPolicyRequest;
|
171
|
+
}
|
172
|
+
export interface PoliciesGeoipDestroyRequest {
|
173
|
+
policyUuid: string;
|
174
|
+
}
|
175
|
+
export interface PoliciesGeoipListRequest {
|
176
|
+
name?: string;
|
177
|
+
ordering?: string;
|
178
|
+
page?: number;
|
179
|
+
pageSize?: number;
|
180
|
+
search?: string;
|
181
|
+
}
|
182
|
+
export interface PoliciesGeoipPartialUpdateRequest {
|
183
|
+
policyUuid: string;
|
184
|
+
patchedGeoIPPolicyRequest?: PatchedGeoIPPolicyRequest;
|
185
|
+
}
|
186
|
+
export interface PoliciesGeoipRetrieveRequest {
|
187
|
+
policyUuid: string;
|
188
|
+
}
|
189
|
+
export interface PoliciesGeoipUpdateRequest {
|
190
|
+
policyUuid: string;
|
191
|
+
geoIPPolicyRequest: GeoIPPolicyRequest;
|
192
|
+
}
|
193
|
+
export interface PoliciesGeoipUsedByListRequest {
|
194
|
+
policyUuid: string;
|
195
|
+
}
|
169
196
|
export interface PoliciesPasswordCreateRequest {
|
170
197
|
passwordPolicyRequest: PasswordPolicyRequest;
|
171
198
|
}
|
@@ -588,6 +615,70 @@ export declare class PoliciesApi extends runtime.BaseAPI {
|
|
588
615
|
* Get a list of all objects that use this object
|
589
616
|
*/
|
590
617
|
policiesExpressionUsedByList(requestParameters: PoliciesExpressionUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
618
|
+
/**
|
619
|
+
* GeoIP Viewset
|
620
|
+
*/
|
621
|
+
policiesGeoipCreateRaw(requestParameters: PoliciesGeoipCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
622
|
+
/**
|
623
|
+
* GeoIP Viewset
|
624
|
+
*/
|
625
|
+
policiesGeoipCreate(requestParameters: PoliciesGeoipCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
626
|
+
/**
|
627
|
+
* GeoIP Viewset
|
628
|
+
*/
|
629
|
+
policiesGeoipDestroyRaw(requestParameters: PoliciesGeoipDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
630
|
+
/**
|
631
|
+
* GeoIP Viewset
|
632
|
+
*/
|
633
|
+
policiesGeoipDestroy(requestParameters: PoliciesGeoipDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
634
|
+
/**
|
635
|
+
* Get all countries in ISO-3166-1
|
636
|
+
*/
|
637
|
+
policiesGeoipIso3166ListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DetailedCountry>>>;
|
638
|
+
/**
|
639
|
+
* Get all countries in ISO-3166-1
|
640
|
+
*/
|
641
|
+
policiesGeoipIso3166List(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DetailedCountry>>;
|
642
|
+
/**
|
643
|
+
* GeoIP Viewset
|
644
|
+
*/
|
645
|
+
policiesGeoipListRaw(requestParameters: PoliciesGeoipListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedGeoIPPolicyList>>;
|
646
|
+
/**
|
647
|
+
* GeoIP Viewset
|
648
|
+
*/
|
649
|
+
policiesGeoipList(requestParameters?: PoliciesGeoipListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedGeoIPPolicyList>;
|
650
|
+
/**
|
651
|
+
* GeoIP Viewset
|
652
|
+
*/
|
653
|
+
policiesGeoipPartialUpdateRaw(requestParameters: PoliciesGeoipPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
654
|
+
/**
|
655
|
+
* GeoIP Viewset
|
656
|
+
*/
|
657
|
+
policiesGeoipPartialUpdate(requestParameters: PoliciesGeoipPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
658
|
+
/**
|
659
|
+
* GeoIP Viewset
|
660
|
+
*/
|
661
|
+
policiesGeoipRetrieveRaw(requestParameters: PoliciesGeoipRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
662
|
+
/**
|
663
|
+
* GeoIP Viewset
|
664
|
+
*/
|
665
|
+
policiesGeoipRetrieve(requestParameters: PoliciesGeoipRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
666
|
+
/**
|
667
|
+
* GeoIP Viewset
|
668
|
+
*/
|
669
|
+
policiesGeoipUpdateRaw(requestParameters: PoliciesGeoipUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GeoIPPolicy>>;
|
670
|
+
/**
|
671
|
+
* GeoIP Viewset
|
672
|
+
*/
|
673
|
+
policiesGeoipUpdate(requestParameters: PoliciesGeoipUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GeoIPPolicy>;
|
674
|
+
/**
|
675
|
+
* Get a list of all objects that use this object
|
676
|
+
*/
|
677
|
+
policiesGeoipUsedByListRaw(requestParameters: PoliciesGeoipUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
|
678
|
+
/**
|
679
|
+
* Get a list of all objects that use this object
|
680
|
+
*/
|
681
|
+
policiesGeoipUsedByList(requestParameters: PoliciesGeoipUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
591
682
|
/**
|
592
683
|
* Password Policy Viewset
|
593
684
|
*/
|