@goauthentik/api 2024.6.3-1722881330 → 2024.6.3-1722940666

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/dist/apis/PoliciesApi.d.ts +92 -1
  3. package/dist/apis/PoliciesApi.js +297 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/esm/apis/PoliciesApi.d.ts +92 -1
  7. package/dist/esm/apis/PoliciesApi.js +298 -1
  8. package/dist/esm/apis/RbacApi.d.ts +2 -0
  9. package/dist/esm/apis/RbacApi.js +2 -0
  10. package/dist/esm/models/AppEnum.d.ts +1 -0
  11. package/dist/esm/models/AppEnum.js +1 -0
  12. package/dist/esm/models/CountryCodeEnum.d.ts +271 -0
  13. package/dist/esm/models/CountryCodeEnum.js +278 -0
  14. package/dist/esm/models/DetailedCountry.d.ts +38 -0
  15. package/dist/esm/models/DetailedCountry.js +47 -0
  16. package/dist/esm/models/DetailedCountryField.d.ts +38 -0
  17. package/dist/esm/models/DetailedCountryField.js +47 -0
  18. package/dist/esm/models/DetailedCountryFieldRequest.d.ts +38 -0
  19. package/dist/esm/models/DetailedCountryFieldRequest.js +47 -0
  20. package/dist/esm/models/GeoIPPolicy.d.ts +93 -0
  21. package/dist/esm/models/GeoIPPolicy.js +67 -0
  22. package/dist/esm/models/GeoIPPolicyRequest.d.ts +50 -0
  23. package/dist/esm/models/GeoIPPolicyRequest.js +52 -0
  24. package/dist/esm/models/ModelEnum.d.ts +1 -0
  25. package/dist/esm/models/ModelEnum.js +1 -0
  26. package/dist/esm/models/PaginatedGeoIPPolicyList.d.ts +39 -0
  27. package/dist/esm/models/PaginatedGeoIPPolicyList.js +48 -0
  28. package/dist/esm/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
  29. package/dist/esm/models/PatchedGeoIPPolicyRequest.js +50 -0
  30. package/dist/esm/models/index.d.ts +8 -0
  31. package/dist/esm/models/index.js +8 -0
  32. package/dist/models/AppEnum.d.ts +1 -0
  33. package/dist/models/AppEnum.js +1 -0
  34. package/dist/models/CountryCodeEnum.d.ts +271 -0
  35. package/dist/models/CountryCodeEnum.js +284 -0
  36. package/dist/models/DetailedCountry.d.ts +38 -0
  37. package/dist/models/DetailedCountry.js +54 -0
  38. package/dist/models/DetailedCountryField.d.ts +38 -0
  39. package/dist/models/DetailedCountryField.js +54 -0
  40. package/dist/models/DetailedCountryFieldRequest.d.ts +38 -0
  41. package/dist/models/DetailedCountryFieldRequest.js +54 -0
  42. package/dist/models/GeoIPPolicy.d.ts +93 -0
  43. package/dist/models/GeoIPPolicy.js +74 -0
  44. package/dist/models/GeoIPPolicyRequest.d.ts +50 -0
  45. package/dist/models/GeoIPPolicyRequest.js +59 -0
  46. package/dist/models/ModelEnum.d.ts +1 -0
  47. package/dist/models/ModelEnum.js +1 -0
  48. package/dist/models/PaginatedGeoIPPolicyList.d.ts +39 -0
  49. package/dist/models/PaginatedGeoIPPolicyList.js +55 -0
  50. package/dist/models/PatchedGeoIPPolicyRequest.d.ts +50 -0
  51. package/dist/models/PatchedGeoIPPolicyRequest.js +57 -0
  52. package/dist/models/index.d.ts +8 -0
  53. package/dist/models/index.js +8 -0
  54. package/package.json +1 -1
  55. package/src/apis/PoliciesApi.ts +377 -0
  56. package/src/apis/RbacApi.ts +2 -0
  57. package/src/models/AppEnum.ts +1 -0
  58. package/src/models/CountryCodeEnum.ts +286 -0
  59. package/src/models/DetailedCountry.ts +82 -0
  60. package/src/models/DetailedCountryField.ts +82 -0
  61. package/src/models/DetailedCountryFieldRequest.ts +82 -0
  62. package/src/models/GeoIPPolicy.ts +160 -0
  63. package/src/models/GeoIPPolicyRequest.ts +98 -0
  64. package/src/models/ModelEnum.ts +1 -0
  65. package/src/models/PaginatedGeoIPPolicyList.ts +88 -0
  66. package/src/models/PatchedGeoIPPolicyRequest.ts +96 -0
  67. package/src/models/index.ts +8 -0
@@ -0,0 +1,50 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CountryCodeEnum } from './CountryCodeEnum';
13
+ /**
14
+ * GeoIP Policy Serializer
15
+ * @export
16
+ * @interface GeoIPPolicyRequest
17
+ */
18
+ export interface GeoIPPolicyRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof GeoIPPolicyRequest
23
+ */
24
+ name: string;
25
+ /**
26
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
27
+ * @type {boolean}
28
+ * @memberof GeoIPPolicyRequest
29
+ */
30
+ executionLogging?: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<number>}
34
+ * @memberof GeoIPPolicyRequest
35
+ */
36
+ asns?: Array<number>;
37
+ /**
38
+ *
39
+ * @type {Array<CountryCodeEnum>}
40
+ * @memberof GeoIPPolicyRequest
41
+ */
42
+ countries: Array<CountryCodeEnum>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the GeoIPPolicyRequest interface.
46
+ */
47
+ export declare function instanceOfGeoIPPolicyRequest(value: object): boolean;
48
+ export declare function GeoIPPolicyRequestFromJSON(json: any): GeoIPPolicyRequest;
49
+ export declare function GeoIPPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoIPPolicyRequest;
50
+ export declare function GeoIPPolicyRequestToJSON(value?: GeoIPPolicyRequest | null): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { CountryCodeEnumFromJSON, CountryCodeEnumToJSON, } from './CountryCodeEnum';
16
+ /**
17
+ * Check if a given object implements the GeoIPPolicyRequest interface.
18
+ */
19
+ export function instanceOfGeoIPPolicyRequest(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "name" in value;
22
+ isInstance = isInstance && "countries" in value;
23
+ return isInstance;
24
+ }
25
+ export function GeoIPPolicyRequestFromJSON(json) {
26
+ return GeoIPPolicyRequestFromJSONTyped(json, false);
27
+ }
28
+ export function GeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'name': json['name'],
34
+ 'executionLogging': !exists(json, 'execution_logging') ? undefined : json['execution_logging'],
35
+ 'asns': !exists(json, 'asns') ? undefined : json['asns'],
36
+ 'countries': (json['countries'].map(CountryCodeEnumFromJSON)),
37
+ };
38
+ }
39
+ export function GeoIPPolicyRequestToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'name': value.name,
48
+ 'execution_logging': value.executionLogging,
49
+ 'asns': value.asns,
50
+ 'countries': (value.countries.map(CountryCodeEnumToJSON)),
51
+ };
52
+ }
@@ -25,6 +25,7 @@ export declare const ModelEnum: {
25
25
  readonly PoliciesEventMatcherEventmatcherpolicy: "authentik_policies_event_matcher.eventmatcherpolicy";
26
26
  readonly PoliciesExpiryPasswordexpirypolicy: "authentik_policies_expiry.passwordexpirypolicy";
27
27
  readonly PoliciesExpressionExpressionpolicy: "authentik_policies_expression.expressionpolicy";
28
+ readonly PoliciesGeoipGeoippolicy: "authentik_policies_geoip.geoippolicy";
28
29
  readonly PoliciesPasswordPasswordpolicy: "authentik_policies_password.passwordpolicy";
29
30
  readonly PoliciesReputationReputationpolicy: "authentik_policies_reputation.reputationpolicy";
30
31
  readonly PoliciesPolicybinding: "authentik_policies.policybinding";
@@ -27,6 +27,7 @@ export const ModelEnum = {
27
27
  PoliciesEventMatcherEventmatcherpolicy: 'authentik_policies_event_matcher.eventmatcherpolicy',
28
28
  PoliciesExpiryPasswordexpirypolicy: 'authentik_policies_expiry.passwordexpirypolicy',
29
29
  PoliciesExpressionExpressionpolicy: 'authentik_policies_expression.expressionpolicy',
30
+ PoliciesGeoipGeoippolicy: 'authentik_policies_geoip.geoippolicy',
30
31
  PoliciesPasswordPasswordpolicy: 'authentik_policies_password.passwordpolicy',
31
32
  PoliciesReputationReputationpolicy: 'authentik_policies_reputation.reputationpolicy',
32
33
  PoliciesPolicybinding: 'authentik_policies.policybinding',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { GeoIPPolicy } from './GeoIPPolicy';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedGeoIPPolicyList
18
+ */
19
+ export interface PaginatedGeoIPPolicyList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedGeoIPPolicyList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<GeoIPPolicy>}
29
+ * @memberof PaginatedGeoIPPolicyList
30
+ */
31
+ results: Array<GeoIPPolicy>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedGeoIPPolicyList interface.
35
+ */
36
+ export declare function instanceOfPaginatedGeoIPPolicyList(value: object): boolean;
37
+ export declare function PaginatedGeoIPPolicyListFromJSON(json: any): PaginatedGeoIPPolicyList;
38
+ export declare function PaginatedGeoIPPolicyListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGeoIPPolicyList;
39
+ export declare function PaginatedGeoIPPolicyListToJSON(value?: PaginatedGeoIPPolicyList | null): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { GeoIPPolicyFromJSON, GeoIPPolicyToJSON, } from './GeoIPPolicy';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedGeoIPPolicyList interface.
18
+ */
19
+ export function instanceOfPaginatedGeoIPPolicyList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedGeoIPPolicyListFromJSON(json) {
26
+ return PaginatedGeoIPPolicyListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedGeoIPPolicyListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(GeoIPPolicyFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedGeoIPPolicyListToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'pagination': PaginationToJSON(value.pagination),
46
+ 'results': (value.results.map(GeoIPPolicyToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { CountryCodeEnum } from './CountryCodeEnum';
13
+ /**
14
+ * GeoIP Policy Serializer
15
+ * @export
16
+ * @interface PatchedGeoIPPolicyRequest
17
+ */
18
+ export interface PatchedGeoIPPolicyRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PatchedGeoIPPolicyRequest
23
+ */
24
+ name?: string;
25
+ /**
26
+ * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
27
+ * @type {boolean}
28
+ * @memberof PatchedGeoIPPolicyRequest
29
+ */
30
+ executionLogging?: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<number>}
34
+ * @memberof PatchedGeoIPPolicyRequest
35
+ */
36
+ asns?: Array<number>;
37
+ /**
38
+ *
39
+ * @type {Array<CountryCodeEnum>}
40
+ * @memberof PatchedGeoIPPolicyRequest
41
+ */
42
+ countries?: Array<CountryCodeEnum>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the PatchedGeoIPPolicyRequest interface.
46
+ */
47
+ export declare function instanceOfPatchedGeoIPPolicyRequest(value: object): boolean;
48
+ export declare function PatchedGeoIPPolicyRequestFromJSON(json: any): PatchedGeoIPPolicyRequest;
49
+ export declare function PatchedGeoIPPolicyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGeoIPPolicyRequest;
50
+ export declare function PatchedGeoIPPolicyRequestToJSON(value?: PatchedGeoIPPolicyRequest | null): any;
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.3
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { CountryCodeEnumFromJSON, CountryCodeEnumToJSON, } from './CountryCodeEnum';
16
+ /**
17
+ * Check if a given object implements the PatchedGeoIPPolicyRequest interface.
18
+ */
19
+ export function instanceOfPatchedGeoIPPolicyRequest(value) {
20
+ let isInstance = true;
21
+ return isInstance;
22
+ }
23
+ export function PatchedGeoIPPolicyRequestFromJSON(json) {
24
+ return PatchedGeoIPPolicyRequestFromJSONTyped(json, false);
25
+ }
26
+ export function PatchedGeoIPPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'name': !exists(json, 'name') ? undefined : json['name'],
32
+ 'executionLogging': !exists(json, 'execution_logging') ? undefined : json['execution_logging'],
33
+ 'asns': !exists(json, 'asns') ? undefined : json['asns'],
34
+ 'countries': !exists(json, 'countries') ? undefined : (json['countries'].map(CountryCodeEnumFromJSON)),
35
+ };
36
+ }
37
+ export function PatchedGeoIPPolicyRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'name': value.name,
46
+ 'execution_logging': value.executionLogging,
47
+ 'asns': value.asns,
48
+ 'countries': value.countries === undefined ? undefined : (value.countries.map(CountryCodeEnumToJSON)),
49
+ };
50
+ }
@@ -77,10 +77,14 @@ export * from './ConsentStageRequest';
77
77
  export * from './ContextualFlowInfo';
78
78
  export * from './ContextualFlowInfoLayoutEnum';
79
79
  export * from './Coordinate';
80
+ export * from './CountryCodeEnum';
80
81
  export * from './CurrentBrand';
81
82
  export * from './DeniedActionEnum';
82
83
  export * from './DenyStage';
83
84
  export * from './DenyStageRequest';
85
+ export * from './DetailedCountry';
86
+ export * from './DetailedCountryField';
87
+ export * from './DetailedCountryFieldRequest';
84
88
  export * from './Device';
85
89
  export * from './DeviceChallenge';
86
90
  export * from './DeviceChallengeRequest';
@@ -139,6 +143,8 @@ export * from './FlowStageBinding';
139
143
  export * from './FlowStageBindingRequest';
140
144
  export * from './FooterLink';
141
145
  export * from './GenericError';
146
+ export * from './GeoIPPolicy';
147
+ export * from './GeoIPPolicyRequest';
142
148
  export * from './GeoipBindingEnum';
143
149
  export * from './GoogleWorkspaceProvider';
144
150
  export * from './GoogleWorkspaceProviderGroup';
@@ -255,6 +261,7 @@ export * from './PaginatedExtraRoleObjectPermissionList';
255
261
  export * from './PaginatedExtraUserObjectPermissionList';
256
262
  export * from './PaginatedFlowList';
257
263
  export * from './PaginatedFlowStageBindingList';
264
+ export * from './PaginatedGeoIPPolicyList';
258
265
  export * from './PaginatedGoogleWorkspaceProviderGroupList';
259
266
  export * from './PaginatedGoogleWorkspaceProviderList';
260
267
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
@@ -375,6 +382,7 @@ export * from './PatchedExtraRoleObjectPermissionRequest';
375
382
  export * from './PatchedExtraUserObjectPermissionRequest';
376
383
  export * from './PatchedFlowRequest';
377
384
  export * from './PatchedFlowStageBindingRequest';
385
+ export * from './PatchedGeoIPPolicyRequest';
378
386
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
379
387
  export * from './PatchedGoogleWorkspaceProviderRequest';
380
388
  export * from './PatchedGroupRequest';
@@ -79,10 +79,14 @@ export * from './ConsentStageRequest';
79
79
  export * from './ContextualFlowInfo';
80
80
  export * from './ContextualFlowInfoLayoutEnum';
81
81
  export * from './Coordinate';
82
+ export * from './CountryCodeEnum';
82
83
  export * from './CurrentBrand';
83
84
  export * from './DeniedActionEnum';
84
85
  export * from './DenyStage';
85
86
  export * from './DenyStageRequest';
87
+ export * from './DetailedCountry';
88
+ export * from './DetailedCountryField';
89
+ export * from './DetailedCountryFieldRequest';
86
90
  export * from './Device';
87
91
  export * from './DeviceChallenge';
88
92
  export * from './DeviceChallengeRequest';
@@ -141,6 +145,8 @@ export * from './FlowStageBinding';
141
145
  export * from './FlowStageBindingRequest';
142
146
  export * from './FooterLink';
143
147
  export * from './GenericError';
148
+ export * from './GeoIPPolicy';
149
+ export * from './GeoIPPolicyRequest';
144
150
  export * from './GeoipBindingEnum';
145
151
  export * from './GoogleWorkspaceProvider';
146
152
  export * from './GoogleWorkspaceProviderGroup';
@@ -257,6 +263,7 @@ export * from './PaginatedExtraRoleObjectPermissionList';
257
263
  export * from './PaginatedExtraUserObjectPermissionList';
258
264
  export * from './PaginatedFlowList';
259
265
  export * from './PaginatedFlowStageBindingList';
266
+ export * from './PaginatedGeoIPPolicyList';
260
267
  export * from './PaginatedGoogleWorkspaceProviderGroupList';
261
268
  export * from './PaginatedGoogleWorkspaceProviderList';
262
269
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
@@ -377,6 +384,7 @@ export * from './PatchedExtraRoleObjectPermissionRequest';
377
384
  export * from './PatchedExtraUserObjectPermissionRequest';
378
385
  export * from './PatchedFlowRequest';
379
386
  export * from './PatchedFlowStageBindingRequest';
387
+ export * from './PatchedGeoIPPolicyRequest';
380
388
  export * from './PatchedGoogleWorkspaceProviderMappingRequest';
381
389
  export * from './PatchedGoogleWorkspaceProviderRequest';
382
390
  export * from './PatchedGroupRequest';
@@ -24,6 +24,7 @@ export declare const AppEnum: {
24
24
  readonly PoliciesEventMatcher: "authentik.policies.event_matcher";
25
25
  readonly PoliciesExpiry: "authentik.policies.expiry";
26
26
  readonly PoliciesExpression: "authentik.policies.expression";
27
+ readonly PoliciesGeoip: "authentik.policies.geoip";
27
28
  readonly PoliciesPassword: "authentik.policies.password";
28
29
  readonly PoliciesReputation: "authentik.policies.reputation";
29
30
  readonly Policies: "authentik.policies";
@@ -29,6 +29,7 @@ exports.AppEnum = {
29
29
  PoliciesEventMatcher: 'authentik.policies.event_matcher',
30
30
  PoliciesExpiry: 'authentik.policies.expiry',
31
31
  PoliciesExpression: 'authentik.policies.expression',
32
+ PoliciesGeoip: 'authentik.policies.geoip',
32
33
  PoliciesPassword: 'authentik.policies.password',
33
34
  PoliciesReputation: 'authentik.policies.reputation',
34
35
  Policies: 'authentik.policies',
@@ -0,0 +1,271 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.3
6
+ * Contact: hello@goauthentik.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ */
16
+ export declare const CountryCodeEnum: {
17
+ readonly Af: "AF";
18
+ readonly Ax: "AX";
19
+ readonly Al: "AL";
20
+ readonly Dz: "DZ";
21
+ readonly As: "AS";
22
+ readonly Ad: "AD";
23
+ readonly Ao: "AO";
24
+ readonly Ai: "AI";
25
+ readonly Aq: "AQ";
26
+ readonly Ag: "AG";
27
+ readonly Ar: "AR";
28
+ readonly Am: "AM";
29
+ readonly Aw: "AW";
30
+ readonly Au: "AU";
31
+ readonly At: "AT";
32
+ readonly Az: "AZ";
33
+ readonly Bs: "BS";
34
+ readonly Bh: "BH";
35
+ readonly Bd: "BD";
36
+ readonly Bb: "BB";
37
+ readonly By: "BY";
38
+ readonly Be: "BE";
39
+ readonly Bz: "BZ";
40
+ readonly Bj: "BJ";
41
+ readonly Bm: "BM";
42
+ readonly Bt: "BT";
43
+ readonly Bo: "BO";
44
+ readonly Bq: "BQ";
45
+ readonly Ba: "BA";
46
+ readonly Bw: "BW";
47
+ readonly Bv: "BV";
48
+ readonly Br: "BR";
49
+ readonly Io: "IO";
50
+ readonly Bn: "BN";
51
+ readonly Bg: "BG";
52
+ readonly Bf: "BF";
53
+ readonly Bi: "BI";
54
+ readonly Cv: "CV";
55
+ readonly Kh: "KH";
56
+ readonly Cm: "CM";
57
+ readonly Ca: "CA";
58
+ readonly Ky: "KY";
59
+ readonly Cf: "CF";
60
+ readonly Td: "TD";
61
+ readonly Cl: "CL";
62
+ readonly Cn: "CN";
63
+ readonly Cx: "CX";
64
+ readonly Cc: "CC";
65
+ readonly Co: "CO";
66
+ readonly Km: "KM";
67
+ readonly Cg: "CG";
68
+ readonly Cd: "CD";
69
+ readonly Ck: "CK";
70
+ readonly Cr: "CR";
71
+ readonly Ci: "CI";
72
+ readonly Hr: "HR";
73
+ readonly Cu: "CU";
74
+ readonly Cw: "CW";
75
+ readonly Cy: "CY";
76
+ readonly Cz: "CZ";
77
+ readonly Dk: "DK";
78
+ readonly Dj: "DJ";
79
+ readonly Dm: "DM";
80
+ readonly Do: "DO";
81
+ readonly Ec: "EC";
82
+ readonly Eg: "EG";
83
+ readonly Sv: "SV";
84
+ readonly Gq: "GQ";
85
+ readonly Er: "ER";
86
+ readonly Ee: "EE";
87
+ readonly Sz: "SZ";
88
+ readonly Et: "ET";
89
+ readonly Fk: "FK";
90
+ readonly Fo: "FO";
91
+ readonly Fj: "FJ";
92
+ readonly Fi: "FI";
93
+ readonly Fr: "FR";
94
+ readonly Gf: "GF";
95
+ readonly Pf: "PF";
96
+ readonly Tf: "TF";
97
+ readonly Ga: "GA";
98
+ readonly Gm: "GM";
99
+ readonly Ge: "GE";
100
+ readonly De: "DE";
101
+ readonly Gh: "GH";
102
+ readonly Gi: "GI";
103
+ readonly Gr: "GR";
104
+ readonly Gl: "GL";
105
+ readonly Gd: "GD";
106
+ readonly Gp: "GP";
107
+ readonly Gu: "GU";
108
+ readonly Gt: "GT";
109
+ readonly Gg: "GG";
110
+ readonly Gn: "GN";
111
+ readonly Gw: "GW";
112
+ readonly Gy: "GY";
113
+ readonly Ht: "HT";
114
+ readonly Hm: "HM";
115
+ readonly Va: "VA";
116
+ readonly Hn: "HN";
117
+ readonly Hk: "HK";
118
+ readonly Hu: "HU";
119
+ readonly Is: "IS";
120
+ readonly In: "IN";
121
+ readonly Id: "ID";
122
+ readonly Ir: "IR";
123
+ readonly Iq: "IQ";
124
+ readonly Ie: "IE";
125
+ readonly Im: "IM";
126
+ readonly Il: "IL";
127
+ readonly It: "IT";
128
+ readonly Jm: "JM";
129
+ readonly Jp: "JP";
130
+ readonly Je: "JE";
131
+ readonly Jo: "JO";
132
+ readonly Kz: "KZ";
133
+ readonly Ke: "KE";
134
+ readonly Ki: "KI";
135
+ readonly Kw: "KW";
136
+ readonly Kg: "KG";
137
+ readonly La: "LA";
138
+ readonly Lv: "LV";
139
+ readonly Lb: "LB";
140
+ readonly Ls: "LS";
141
+ readonly Lr: "LR";
142
+ readonly Ly: "LY";
143
+ readonly Li: "LI";
144
+ readonly Lt: "LT";
145
+ readonly Lu: "LU";
146
+ readonly Mo: "MO";
147
+ readonly Mg: "MG";
148
+ readonly Mw: "MW";
149
+ readonly My: "MY";
150
+ readonly Mv: "MV";
151
+ readonly Ml: "ML";
152
+ readonly Mt: "MT";
153
+ readonly Mh: "MH";
154
+ readonly Mq: "MQ";
155
+ readonly Mr: "MR";
156
+ readonly Mu: "MU";
157
+ readonly Yt: "YT";
158
+ readonly Mx: "MX";
159
+ readonly Fm: "FM";
160
+ readonly Md: "MD";
161
+ readonly Mc: "MC";
162
+ readonly Mn: "MN";
163
+ readonly Me: "ME";
164
+ readonly Ms: "MS";
165
+ readonly Ma: "MA";
166
+ readonly Mz: "MZ";
167
+ readonly Mm: "MM";
168
+ readonly Na: "NA";
169
+ readonly Nr: "NR";
170
+ readonly Np: "NP";
171
+ readonly Nl: "NL";
172
+ readonly Nc: "NC";
173
+ readonly Nz: "NZ";
174
+ readonly Ni: "NI";
175
+ readonly Ne: "NE";
176
+ readonly Ng: "NG";
177
+ readonly Nu: "NU";
178
+ readonly Nf: "NF";
179
+ readonly Kp: "KP";
180
+ readonly Mk: "MK";
181
+ readonly Mp: "MP";
182
+ readonly No: "NO";
183
+ readonly Om: "OM";
184
+ readonly Pk: "PK";
185
+ readonly Pw: "PW";
186
+ readonly Ps: "PS";
187
+ readonly Pa: "PA";
188
+ readonly Pg: "PG";
189
+ readonly Py: "PY";
190
+ readonly Pe: "PE";
191
+ readonly Ph: "PH";
192
+ readonly Pn: "PN";
193
+ readonly Pl: "PL";
194
+ readonly Pt: "PT";
195
+ readonly Pr: "PR";
196
+ readonly Qa: "QA";
197
+ readonly Re: "RE";
198
+ readonly Ro: "RO";
199
+ readonly Ru: "RU";
200
+ readonly Rw: "RW";
201
+ readonly Bl: "BL";
202
+ readonly Sh: "SH";
203
+ readonly Kn: "KN";
204
+ readonly Lc: "LC";
205
+ readonly Mf: "MF";
206
+ readonly Pm: "PM";
207
+ readonly Vc: "VC";
208
+ readonly Ws: "WS";
209
+ readonly Sm: "SM";
210
+ readonly St: "ST";
211
+ readonly Sa: "SA";
212
+ readonly Sn: "SN";
213
+ readonly Rs: "RS";
214
+ readonly Sc: "SC";
215
+ readonly Sl: "SL";
216
+ readonly Sg: "SG";
217
+ readonly Sx: "SX";
218
+ readonly Sk: "SK";
219
+ readonly Si: "SI";
220
+ readonly Sb: "SB";
221
+ readonly So: "SO";
222
+ readonly Za: "ZA";
223
+ readonly Gs: "GS";
224
+ readonly Kr: "KR";
225
+ readonly Ss: "SS";
226
+ readonly Es: "ES";
227
+ readonly Lk: "LK";
228
+ readonly Sd: "SD";
229
+ readonly Sr: "SR";
230
+ readonly Sj: "SJ";
231
+ readonly Se: "SE";
232
+ readonly Ch: "CH";
233
+ readonly Sy: "SY";
234
+ readonly Tw: "TW";
235
+ readonly Tj: "TJ";
236
+ readonly Tz: "TZ";
237
+ readonly Th: "TH";
238
+ readonly Tl: "TL";
239
+ readonly Tg: "TG";
240
+ readonly Tk: "TK";
241
+ readonly To: "TO";
242
+ readonly Tt: "TT";
243
+ readonly Tn: "TN";
244
+ readonly Tr: "TR";
245
+ readonly Tm: "TM";
246
+ readonly Tc: "TC";
247
+ readonly Tv: "TV";
248
+ readonly Ug: "UG";
249
+ readonly Ua: "UA";
250
+ readonly Ae: "AE";
251
+ readonly Gb: "GB";
252
+ readonly Um: "UM";
253
+ readonly Us: "US";
254
+ readonly Uy: "UY";
255
+ readonly Uz: "UZ";
256
+ readonly Vu: "VU";
257
+ readonly Ve: "VE";
258
+ readonly Vn: "VN";
259
+ readonly Vg: "VG";
260
+ readonly Vi: "VI";
261
+ readonly Wf: "WF";
262
+ readonly Eh: "EH";
263
+ readonly Ye: "YE";
264
+ readonly Zm: "ZM";
265
+ readonly Zw: "ZW";
266
+ readonly UnknownDefaultOpenApi: "11184809";
267
+ };
268
+ export type CountryCodeEnum = typeof CountryCodeEnum[keyof typeof CountryCodeEnum];
269
+ export declare function CountryCodeEnumFromJSON(json: any): CountryCodeEnum;
270
+ export declare function CountryCodeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountryCodeEnum;
271
+ export declare function CountryCodeEnumToJSON(value?: CountryCodeEnum | null): any;