@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721927330

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 (79) hide show
  1. package/.openapi-generator/FILES +9 -4
  2. package/dist/apis/OutpostsApi.d.ts +7 -28
  3. package/dist/apis/OutpostsApi.js +11 -78
  4. package/dist/apis/PropertymappingsApi.d.ts +173 -87
  5. package/dist/apis/PropertymappingsApi.js +575 -301
  6. package/dist/apis/RbacApi.d.ts +4 -2
  7. package/dist/apis/RbacApi.js +4 -2
  8. package/dist/esm/apis/OutpostsApi.d.ts +7 -28
  9. package/dist/esm/apis/OutpostsApi.js +12 -79
  10. package/dist/esm/apis/PropertymappingsApi.d.ts +173 -87
  11. package/dist/esm/apis/PropertymappingsApi.js +576 -302
  12. package/dist/esm/apis/RbacApi.d.ts +4 -2
  13. package/dist/esm/apis/RbacApi.js +4 -2
  14. package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
  15. package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
  16. package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
  17. package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
  18. package/dist/esm/models/ModelEnum.d.ts +2 -1
  19. package/dist/esm/models/ModelEnum.js +2 -1
  20. package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
  21. package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
  22. package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
  23. package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.js +48 -0
  24. package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
  25. package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
  26. package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
  27. package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.js +47 -0
  28. package/dist/esm/models/RadiusCheckAccess.d.ts +38 -0
  29. package/dist/esm/models/RadiusCheckAccess.js +47 -0
  30. package/dist/esm/models/RadiusProviderPropertyMapping.d.ts +73 -0
  31. package/dist/esm/models/RadiusProviderPropertyMapping.js +59 -0
  32. package/dist/esm/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
  33. package/dist/esm/models/RadiusProviderPropertyMappingRequest.js +49 -0
  34. package/dist/esm/models/index.d.ts +9 -4
  35. package/dist/esm/models/index.js +9 -4
  36. package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
  37. package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
  38. package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
  39. package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
  40. package/dist/models/ModelEnum.d.ts +2 -1
  41. package/dist/models/ModelEnum.js +2 -1
  42. package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
  43. package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
  44. package/dist/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
  45. package/dist/models/PaginatedRadiusProviderPropertyMappingList.js +55 -0
  46. package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
  47. package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -0
  48. package/dist/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
  49. package/dist/models/PatchedRadiusProviderPropertyMappingRequest.js +54 -0
  50. package/dist/models/RadiusCheckAccess.d.ts +38 -0
  51. package/dist/models/RadiusCheckAccess.js +54 -0
  52. package/dist/models/RadiusProviderPropertyMapping.d.ts +73 -0
  53. package/dist/models/RadiusProviderPropertyMapping.js +66 -0
  54. package/dist/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
  55. package/dist/models/RadiusProviderPropertyMappingRequest.js +56 -0
  56. package/dist/models/index.d.ts +9 -4
  57. package/dist/models/index.js +9 -4
  58. package/package.json +1 -1
  59. package/src/apis/OutpostsApi.ts +17 -102
  60. package/src/apis/PropertymappingsApi.ts +888 -533
  61. package/src/apis/RbacApi.ts +4 -2
  62. package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
  63. package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
  64. package/src/models/ModelEnum.ts +2 -1
  65. package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
  66. package/src/models/PaginatedRadiusProviderPropertyMappingList.ts +88 -0
  67. package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
  68. package/src/models/PatchedRadiusProviderPropertyMappingRequest.ts +81 -0
  69. package/src/models/RadiusCheckAccess.ts +81 -0
  70. package/src/models/RadiusProviderPropertyMapping.ts +123 -0
  71. package/src/models/RadiusProviderPropertyMappingRequest.ts +83 -0
  72. package/src/models/index.ts +9 -4
  73. package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
  74. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
  75. package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
  76. package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
  77. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
  78. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
  79. package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
@@ -33,13 +33,14 @@ export declare const ModelEnum: {
33
33
  readonly ProvidersOauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
34
34
  readonly ProvidersProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
35
35
  readonly ProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
36
+ readonly ProvidersRadiusRadiusproviderpropertymapping: "authentik_providers_radius.radiusproviderpropertymapping";
36
37
  readonly ProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
37
38
  readonly ProvidersSamlSamlpropertymapping: "authentik_providers_saml.samlpropertymapping";
38
39
  readonly ProvidersScimScimprovider: "authentik_providers_scim.scimprovider";
39
40
  readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
40
41
  readonly RbacRole: "authentik_rbac.role";
41
42
  readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
42
- readonly SourcesLdapLdappropertymapping: "authentik_sources_ldap.ldappropertymapping";
43
+ readonly SourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
43
44
  readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
44
45
  readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
45
46
  readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
@@ -38,13 +38,14 @@ exports.ModelEnum = {
38
38
  ProvidersOauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
39
39
  ProvidersProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
40
40
  ProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
41
+ ProvidersRadiusRadiusproviderpropertymapping: 'authentik_providers_radius.radiusproviderpropertymapping',
41
42
  ProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
42
43
  ProvidersSamlSamlpropertymapping: 'authentik_providers_saml.samlpropertymapping',
43
44
  ProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
44
45
  ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
45
46
  RbacRole: 'authentik_rbac.role',
46
47
  SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
47
- SourcesLdapLdappropertymapping: 'authentik_sources_ldap.ldappropertymapping',
48
+ SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
48
49
  SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
49
50
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
50
51
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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 { LDAPSourcePropertyMapping } from './LDAPSourcePropertyMapping';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedLDAPSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedLDAPSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedLDAPSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<LDAPSourcePropertyMapping>}
29
+ * @memberof PaginatedLDAPSourcePropertyMappingList
30
+ */
31
+ results: Array<LDAPSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedLDAPSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedLDAPSourcePropertyMappingListFromJSON(json: any): PaginatedLDAPSourcePropertyMappingList;
38
+ export declare function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLDAPSourcePropertyMappingList;
39
+ export declare function PaginatedLDAPSourcePropertyMappingListToJSON(value?: PaginatedLDAPSourcePropertyMappingList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PaginatedLDAPSourcePropertyMappingListToJSON = exports.PaginatedLDAPSourcePropertyMappingListFromJSONTyped = exports.PaginatedLDAPSourcePropertyMappingListFromJSON = exports.instanceOfPaginatedLDAPSourcePropertyMappingList = void 0;
17
+ const LDAPSourcePropertyMapping_1 = require("./LDAPSourcePropertyMapping");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedLDAPSourcePropertyMappingList interface.
21
+ */
22
+ function instanceOfPaginatedLDAPSourcePropertyMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedLDAPSourcePropertyMappingList = instanceOfPaginatedLDAPSourcePropertyMappingList;
29
+ function PaginatedLDAPSourcePropertyMappingListFromJSON(json) {
30
+ return PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedLDAPSourcePropertyMappingListFromJSON = PaginatedLDAPSourcePropertyMappingListFromJSON;
33
+ function PaginatedLDAPSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(LDAPSourcePropertyMapping_1.LDAPSourcePropertyMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedLDAPSourcePropertyMappingListFromJSONTyped = PaginatedLDAPSourcePropertyMappingListFromJSONTyped;
43
+ function PaginatedLDAPSourcePropertyMappingListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(LDAPSourcePropertyMapping_1.LDAPSourcePropertyMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedLDAPSourcePropertyMappingListToJSON = PaginatedLDAPSourcePropertyMappingListToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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 { Pagination } from './Pagination';
13
+ import type { RadiusProviderPropertyMapping } from './RadiusProviderPropertyMapping';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedRadiusProviderPropertyMappingList
18
+ */
19
+ export interface PaginatedRadiusProviderPropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedRadiusProviderPropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<RadiusProviderPropertyMapping>}
29
+ * @memberof PaginatedRadiusProviderPropertyMappingList
30
+ */
31
+ results: Array<RadiusProviderPropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedRadiusProviderPropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedRadiusProviderPropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedRadiusProviderPropertyMappingListFromJSON(json: any): PaginatedRadiusProviderPropertyMappingList;
38
+ export declare function PaginatedRadiusProviderPropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRadiusProviderPropertyMappingList;
39
+ export declare function PaginatedRadiusProviderPropertyMappingListToJSON(value?: PaginatedRadiusProviderPropertyMappingList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PaginatedRadiusProviderPropertyMappingListToJSON = exports.PaginatedRadiusProviderPropertyMappingListFromJSONTyped = exports.PaginatedRadiusProviderPropertyMappingListFromJSON = exports.instanceOfPaginatedRadiusProviderPropertyMappingList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const RadiusProviderPropertyMapping_1 = require("./RadiusProviderPropertyMapping");
19
+ /**
20
+ * Check if a given object implements the PaginatedRadiusProviderPropertyMappingList interface.
21
+ */
22
+ function instanceOfPaginatedRadiusProviderPropertyMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedRadiusProviderPropertyMappingList = instanceOfPaginatedRadiusProviderPropertyMappingList;
29
+ function PaginatedRadiusProviderPropertyMappingListFromJSON(json) {
30
+ return PaginatedRadiusProviderPropertyMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedRadiusProviderPropertyMappingListFromJSON = PaginatedRadiusProviderPropertyMappingListFromJSON;
33
+ function PaginatedRadiusProviderPropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(RadiusProviderPropertyMapping_1.RadiusProviderPropertyMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedRadiusProviderPropertyMappingListFromJSONTyped = PaginatedRadiusProviderPropertyMappingListFromJSONTyped;
43
+ function PaginatedRadiusProviderPropertyMappingListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(RadiusProviderPropertyMapping_1.RadiusProviderPropertyMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedRadiusProviderPropertyMappingListToJSON = PaginatedRadiusProviderPropertyMappingListToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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
+ * LDAP PropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedLDAPSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedLDAPSourcePropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedLDAPSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedLDAPSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedLDAPSourcePropertyMappingRequestFromJSON(json: any): PatchedLDAPSourcePropertyMappingRequest;
42
+ export declare function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedLDAPSourcePropertyMappingRequest;
43
+ export declare function PatchedLDAPSourcePropertyMappingRequestToJSON(value?: PatchedLDAPSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PatchedLDAPSourcePropertyMappingRequestToJSON = exports.PatchedLDAPSourcePropertyMappingRequestFromJSONTyped = exports.PatchedLDAPSourcePropertyMappingRequestFromJSON = exports.instanceOfPatchedLDAPSourcePropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedLDAPSourcePropertyMappingRequest interface.
20
+ */
21
+ function instanceOfPatchedLDAPSourcePropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedLDAPSourcePropertyMappingRequest = instanceOfPatchedLDAPSourcePropertyMappingRequest;
26
+ function PatchedLDAPSourcePropertyMappingRequestFromJSON(json) {
27
+ return PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedLDAPSourcePropertyMappingRequestFromJSON = PatchedLDAPSourcePropertyMappingRequestFromJSON;
30
+ function PatchedLDAPSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
38
+ };
39
+ }
40
+ exports.PatchedLDAPSourcePropertyMappingRequestFromJSONTyped = PatchedLDAPSourcePropertyMappingRequestFromJSONTyped;
41
+ function PatchedLDAPSourcePropertyMappingRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'managed': value.managed,
50
+ 'name': value.name,
51
+ 'expression': value.expression,
52
+ };
53
+ }
54
+ exports.PatchedLDAPSourcePropertyMappingRequestToJSON = PatchedLDAPSourcePropertyMappingRequestToJSON;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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
+ * RadiusProviderPropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedRadiusProviderPropertyMappingRequest
16
+ */
17
+ export interface PatchedRadiusProviderPropertyMappingRequest {
18
+ /**
19
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
20
+ * @type {string}
21
+ * @memberof PatchedRadiusProviderPropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedRadiusProviderPropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedRadiusProviderPropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedRadiusProviderPropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedRadiusProviderPropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedRadiusProviderPropertyMappingRequestFromJSON(json: any): PatchedRadiusProviderPropertyMappingRequest;
42
+ export declare function PatchedRadiusProviderPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRadiusProviderPropertyMappingRequest;
43
+ export declare function PatchedRadiusProviderPropertyMappingRequestToJSON(value?: PatchedRadiusProviderPropertyMappingRequest | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PatchedRadiusProviderPropertyMappingRequestToJSON = exports.PatchedRadiusProviderPropertyMappingRequestFromJSONTyped = exports.PatchedRadiusProviderPropertyMappingRequestFromJSON = exports.instanceOfPatchedRadiusProviderPropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedRadiusProviderPropertyMappingRequest interface.
20
+ */
21
+ function instanceOfPatchedRadiusProviderPropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedRadiusProviderPropertyMappingRequest = instanceOfPatchedRadiusProviderPropertyMappingRequest;
26
+ function PatchedRadiusProviderPropertyMappingRequestFromJSON(json) {
27
+ return PatchedRadiusProviderPropertyMappingRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedRadiusProviderPropertyMappingRequestFromJSON = PatchedRadiusProviderPropertyMappingRequestFromJSON;
30
+ function PatchedRadiusProviderPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
38
+ };
39
+ }
40
+ exports.PatchedRadiusProviderPropertyMappingRequestFromJSONTyped = PatchedRadiusProviderPropertyMappingRequestFromJSONTyped;
41
+ function PatchedRadiusProviderPropertyMappingRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'managed': value.managed,
50
+ 'name': value.name,
51
+ 'expression': value.expression,
52
+ };
53
+ }
54
+ exports.PatchedRadiusProviderPropertyMappingRequestToJSON = PatchedRadiusProviderPropertyMappingRequestToJSON;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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 { PolicyTestResult } from './PolicyTestResult';
13
+ /**
14
+ * Base serializer class which doesn't implement create/update methods
15
+ * @export
16
+ * @interface RadiusCheckAccess
17
+ */
18
+ export interface RadiusCheckAccess {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof RadiusCheckAccess
23
+ */
24
+ attributes?: string;
25
+ /**
26
+ *
27
+ * @type {PolicyTestResult}
28
+ * @memberof RadiusCheckAccess
29
+ */
30
+ access: PolicyTestResult;
31
+ }
32
+ /**
33
+ * Check if a given object implements the RadiusCheckAccess interface.
34
+ */
35
+ export declare function instanceOfRadiusCheckAccess(value: object): boolean;
36
+ export declare function RadiusCheckAccessFromJSON(json: any): RadiusCheckAccess;
37
+ export declare function RadiusCheckAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): RadiusCheckAccess;
38
+ export declare function RadiusCheckAccessToJSON(value?: RadiusCheckAccess | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RadiusCheckAccessToJSON = exports.RadiusCheckAccessFromJSONTyped = exports.RadiusCheckAccessFromJSON = exports.instanceOfRadiusCheckAccess = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const PolicyTestResult_1 = require("./PolicyTestResult");
19
+ /**
20
+ * Check if a given object implements the RadiusCheckAccess interface.
21
+ */
22
+ function instanceOfRadiusCheckAccess(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "access" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfRadiusCheckAccess = instanceOfRadiusCheckAccess;
28
+ function RadiusCheckAccessFromJSON(json) {
29
+ return RadiusCheckAccessFromJSONTyped(json, false);
30
+ }
31
+ exports.RadiusCheckAccessFromJSON = RadiusCheckAccessFromJSON;
32
+ function RadiusCheckAccessFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'attributes': !(0, runtime_1.exists)(json, 'attributes') ? undefined : json['attributes'],
38
+ 'access': (0, PolicyTestResult_1.PolicyTestResultFromJSON)(json['access']),
39
+ };
40
+ }
41
+ exports.RadiusCheckAccessFromJSONTyped = RadiusCheckAccessFromJSONTyped;
42
+ function RadiusCheckAccessToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'attributes': value.attributes,
51
+ 'access': (0, PolicyTestResult_1.PolicyTestResultToJSON)(value.access),
52
+ };
53
+ }
54
+ exports.RadiusCheckAccessToJSON = RadiusCheckAccessToJSON;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.6.1
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
+ * RadiusProviderPropertyMapping Serializer
14
+ * @export
15
+ * @interface RadiusProviderPropertyMapping
16
+ */
17
+ export interface RadiusProviderPropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RadiusProviderPropertyMapping
22
+ */
23
+ readonly pk: string;
24
+ /**
25
+ * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
26
+ * @type {string}
27
+ * @memberof RadiusProviderPropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RadiusProviderPropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RadiusProviderPropertyMapping
40
+ */
41
+ expression: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof RadiusProviderPropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof RadiusProviderPropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof RadiusProviderPropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof RadiusProviderPropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the RadiusProviderPropertyMapping interface.
69
+ */
70
+ export declare function instanceOfRadiusProviderPropertyMapping(value: object): boolean;
71
+ export declare function RadiusProviderPropertyMappingFromJSON(json: any): RadiusProviderPropertyMapping;
72
+ export declare function RadiusProviderPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): RadiusProviderPropertyMapping;
73
+ export declare function RadiusProviderPropertyMappingToJSON(value?: RadiusProviderPropertyMapping | null): any;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.1
9
+ * Contact: hello@goauthentik.io
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RadiusProviderPropertyMappingToJSON = exports.RadiusProviderPropertyMappingFromJSONTyped = exports.RadiusProviderPropertyMappingFromJSON = exports.instanceOfRadiusProviderPropertyMapping = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the RadiusProviderPropertyMapping interface.
20
+ */
21
+ function instanceOfRadiusProviderPropertyMapping(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "expression" in value;
26
+ isInstance = isInstance && "component" in value;
27
+ isInstance = isInstance && "verboseName" in value;
28
+ isInstance = isInstance && "verboseNamePlural" in value;
29
+ isInstance = isInstance && "metaModelName" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfRadiusProviderPropertyMapping = instanceOfRadiusProviderPropertyMapping;
33
+ function RadiusProviderPropertyMappingFromJSON(json) {
34
+ return RadiusProviderPropertyMappingFromJSONTyped(json, false);
35
+ }
36
+ exports.RadiusProviderPropertyMappingFromJSON = RadiusProviderPropertyMappingFromJSON;
37
+ function RadiusProviderPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'pk': json['pk'],
43
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
44
+ 'name': json['name'],
45
+ 'expression': json['expression'],
46
+ 'component': json['component'],
47
+ 'verboseName': json['verbose_name'],
48
+ 'verboseNamePlural': json['verbose_name_plural'],
49
+ 'metaModelName': json['meta_model_name'],
50
+ };
51
+ }
52
+ exports.RadiusProviderPropertyMappingFromJSONTyped = RadiusProviderPropertyMappingFromJSONTyped;
53
+ function RadiusProviderPropertyMappingToJSON(value) {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+ 'managed': value.managed,
62
+ 'name': value.name,
63
+ 'expression': value.expression,
64
+ };
65
+ }
66
+ exports.RadiusProviderPropertyMappingToJSON = RadiusProviderPropertyMappingToJSON;