@goauthentik/api 2024.6.3-1723032607 → 2024.6.3-1723053526

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/dist/apis/PropertymappingsApi.d.ts +171 -1
  3. package/dist/apis/PropertymappingsApi.js +542 -0
  4. package/dist/apis/RbacApi.d.ts +8 -0
  5. package/dist/apis/RbacApi.js +8 -0
  6. package/dist/apis/SourcesApi.d.ts +162 -1
  7. package/dist/apis/SourcesApi.js +493 -1
  8. package/dist/esm/apis/PropertymappingsApi.d.ts +171 -1
  9. package/dist/esm/apis/PropertymappingsApi.js +543 -1
  10. package/dist/esm/apis/RbacApi.d.ts +8 -0
  11. package/dist/esm/apis/RbacApi.js +8 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +162 -1
  13. package/dist/esm/apis/SourcesApi.js +493 -1
  14. package/dist/esm/models/GroupMatchingModeEnum.d.ts +25 -0
  15. package/dist/esm/models/GroupMatchingModeEnum.js +32 -0
  16. package/dist/esm/models/GroupOAuthSourceConnection.d.ts +56 -0
  17. package/dist/esm/models/GroupOAuthSourceConnection.js +50 -0
  18. package/dist/esm/models/GroupSAMLSourceConnection.d.ts +56 -0
  19. package/dist/esm/models/GroupSAMLSourceConnection.js +50 -0
  20. package/dist/esm/models/ModelEnum.d.ts +4 -0
  21. package/dist/esm/models/ModelEnum.js +4 -0
  22. package/dist/esm/models/OAuthSource.d.ts +7 -0
  23. package/dist/esm/models/OAuthSource.js +3 -0
  24. package/dist/esm/models/OAuthSourcePropertyMapping.d.ts +73 -0
  25. package/dist/esm/models/OAuthSourcePropertyMapping.js +59 -0
  26. package/dist/esm/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
  27. package/dist/esm/models/OAuthSourcePropertyMappingRequest.js +49 -0
  28. package/dist/esm/models/OAuthSourceRequest.d.ts +7 -0
  29. package/dist/esm/models/OAuthSourceRequest.js +3 -0
  30. package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
  31. package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.js +48 -0
  32. package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
  33. package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.js +48 -0
  34. package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
  35. package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.js +48 -0
  36. package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
  37. package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.js +48 -0
  38. package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
  39. package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.js +47 -0
  40. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +7 -0
  41. package/dist/esm/models/PatchedOAuthSourceRequest.js +3 -0
  42. package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
  43. package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.js +47 -0
  44. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +13 -0
  45. package/dist/esm/models/PatchedSAMLSourceRequest.js +5 -0
  46. package/dist/esm/models/SAMLSource.d.ts +13 -0
  47. package/dist/esm/models/SAMLSource.js +5 -0
  48. package/dist/esm/models/SAMLSourcePropertyMapping.d.ts +73 -0
  49. package/dist/esm/models/SAMLSourcePropertyMapping.js +59 -0
  50. package/dist/esm/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
  51. package/dist/esm/models/SAMLSourcePropertyMappingRequest.js +49 -0
  52. package/dist/esm/models/SAMLSourceRequest.d.ts +13 -0
  53. package/dist/esm/models/SAMLSourceRequest.js +5 -0
  54. package/dist/esm/models/index.d.ts +13 -0
  55. package/dist/esm/models/index.js +13 -0
  56. package/dist/models/GroupMatchingModeEnum.d.ts +25 -0
  57. package/dist/models/GroupMatchingModeEnum.js +38 -0
  58. package/dist/models/GroupOAuthSourceConnection.d.ts +56 -0
  59. package/dist/models/GroupOAuthSourceConnection.js +57 -0
  60. package/dist/models/GroupSAMLSourceConnection.d.ts +56 -0
  61. package/dist/models/GroupSAMLSourceConnection.js +57 -0
  62. package/dist/models/ModelEnum.d.ts +4 -0
  63. package/dist/models/ModelEnum.js +4 -0
  64. package/dist/models/OAuthSource.d.ts +7 -0
  65. package/dist/models/OAuthSource.js +3 -0
  66. package/dist/models/OAuthSourcePropertyMapping.d.ts +73 -0
  67. package/dist/models/OAuthSourcePropertyMapping.js +66 -0
  68. package/dist/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
  69. package/dist/models/OAuthSourcePropertyMappingRequest.js +56 -0
  70. package/dist/models/OAuthSourceRequest.d.ts +7 -0
  71. package/dist/models/OAuthSourceRequest.js +3 -0
  72. package/dist/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
  73. package/dist/models/PaginatedGroupOAuthSourceConnectionList.js +55 -0
  74. package/dist/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
  75. package/dist/models/PaginatedGroupSAMLSourceConnectionList.js +55 -0
  76. package/dist/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
  77. package/dist/models/PaginatedOAuthSourcePropertyMappingList.js +55 -0
  78. package/dist/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
  79. package/dist/models/PaginatedSAMLSourcePropertyMappingList.js +55 -0
  80. package/dist/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
  81. package/dist/models/PatchedOAuthSourcePropertyMappingRequest.js +54 -0
  82. package/dist/models/PatchedOAuthSourceRequest.d.ts +7 -0
  83. package/dist/models/PatchedOAuthSourceRequest.js +3 -0
  84. package/dist/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
  85. package/dist/models/PatchedSAMLSourcePropertyMappingRequest.js +54 -0
  86. package/dist/models/PatchedSAMLSourceRequest.d.ts +13 -0
  87. package/dist/models/PatchedSAMLSourceRequest.js +5 -0
  88. package/dist/models/SAMLSource.d.ts +13 -0
  89. package/dist/models/SAMLSource.js +5 -0
  90. package/dist/models/SAMLSourcePropertyMapping.d.ts +73 -0
  91. package/dist/models/SAMLSourcePropertyMapping.js +66 -0
  92. package/dist/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
  93. package/dist/models/SAMLSourcePropertyMappingRequest.js +56 -0
  94. package/dist/models/SAMLSourceRequest.d.ts +13 -0
  95. package/dist/models/SAMLSourceRequest.js +5 -0
  96. package/dist/models/index.d.ts +13 -0
  97. package/dist/models/index.js +13 -0
  98. package/package.json +1 -1
  99. package/src/apis/PropertymappingsApi.ts +700 -0
  100. package/src/apis/RbacApi.ts +8 -0
  101. package/src/apis/SourcesApi.ts +613 -0
  102. package/src/models/GroupMatchingModeEnum.ts +40 -0
  103. package/src/models/GroupOAuthSourceConnection.ts +104 -0
  104. package/src/models/GroupSAMLSourceConnection.ts +104 -0
  105. package/src/models/ModelEnum.ts +4 -0
  106. package/src/models/OAuthSource.ts +14 -0
  107. package/src/models/OAuthSourcePropertyMapping.ts +123 -0
  108. package/src/models/OAuthSourcePropertyMappingRequest.ts +83 -0
  109. package/src/models/OAuthSourceRequest.ts +14 -0
  110. package/src/models/PaginatedGroupOAuthSourceConnectionList.ts +88 -0
  111. package/src/models/PaginatedGroupSAMLSourceConnectionList.ts +88 -0
  112. package/src/models/PaginatedOAuthSourcePropertyMappingList.ts +88 -0
  113. package/src/models/PaginatedSAMLSourcePropertyMappingList.ts +88 -0
  114. package/src/models/PatchedOAuthSourcePropertyMappingRequest.ts +81 -0
  115. package/src/models/PatchedOAuthSourceRequest.ts +14 -0
  116. package/src/models/PatchedSAMLSourcePropertyMappingRequest.ts +81 -0
  117. package/src/models/PatchedSAMLSourceRequest.ts +22 -0
  118. package/src/models/SAMLSource.ts +22 -0
  119. package/src/models/SAMLSourcePropertyMapping.ts +123 -0
  120. package/src/models/SAMLSourcePropertyMappingRequest.ts +83 -0
  121. package/src/models/SAMLSourceRequest.ts +22 -0
  122. package/src/models/index.ts +13 -0
@@ -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 { GroupSAMLSourceConnectionFromJSON, GroupSAMLSourceConnectionToJSON, } from './GroupSAMLSourceConnection';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedGroupSAMLSourceConnectionList interface.
18
+ */
19
+ export function instanceOfPaginatedGroupSAMLSourceConnectionList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedGroupSAMLSourceConnectionListFromJSON(json) {
26
+ return PaginatedGroupSAMLSourceConnectionListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedGroupSAMLSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(GroupSAMLSourceConnectionFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedGroupSAMLSourceConnectionListToJSON(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(GroupSAMLSourceConnectionToJSON)),
47
+ };
48
+ }
@@ -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 { OAuthSourcePropertyMapping } from './OAuthSourcePropertyMapping';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedOAuthSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedOAuthSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedOAuthSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<OAuthSourcePropertyMapping>}
29
+ * @memberof PaginatedOAuthSourcePropertyMappingList
30
+ */
31
+ results: Array<OAuthSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedOAuthSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedOAuthSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedOAuthSourcePropertyMappingListFromJSON(json: any): PaginatedOAuthSourcePropertyMappingList;
38
+ export declare function PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedOAuthSourcePropertyMappingList;
39
+ export declare function PaginatedOAuthSourcePropertyMappingListToJSON(value?: PaginatedOAuthSourcePropertyMappingList | 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 { OAuthSourcePropertyMappingFromJSON, OAuthSourcePropertyMappingToJSON, } from './OAuthSourcePropertyMapping';
15
+ import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
16
+ /**
17
+ * Check if a given object implements the PaginatedOAuthSourcePropertyMappingList interface.
18
+ */
19
+ export function instanceOfPaginatedOAuthSourcePropertyMappingList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedOAuthSourcePropertyMappingListFromJSON(json) {
26
+ return PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedOAuthSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(OAuthSourcePropertyMappingFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedOAuthSourcePropertyMappingListToJSON(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(OAuthSourcePropertyMappingToJSON)),
47
+ };
48
+ }
@@ -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 { Pagination } from './Pagination';
13
+ import type { SAMLSourcePropertyMapping } from './SAMLSourcePropertyMapping';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedSAMLSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedSAMLSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedSAMLSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<SAMLSourcePropertyMapping>}
29
+ * @memberof PaginatedSAMLSourcePropertyMappingList
30
+ */
31
+ results: Array<SAMLSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedSAMLSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedSAMLSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedSAMLSourcePropertyMappingListFromJSON(json: any): PaginatedSAMLSourcePropertyMappingList;
38
+ export declare function PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSAMLSourcePropertyMappingList;
39
+ export declare function PaginatedSAMLSourcePropertyMappingListToJSON(value?: PaginatedSAMLSourcePropertyMappingList | 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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
15
+ import { SAMLSourcePropertyMappingFromJSON, SAMLSourcePropertyMappingToJSON, } from './SAMLSourcePropertyMapping';
16
+ /**
17
+ * Check if a given object implements the PaginatedSAMLSourcePropertyMappingList interface.
18
+ */
19
+ export function instanceOfPaginatedSAMLSourcePropertyMappingList(value) {
20
+ let isInstance = true;
21
+ isInstance = isInstance && "pagination" in value;
22
+ isInstance = isInstance && "results" in value;
23
+ return isInstance;
24
+ }
25
+ export function PaginatedSAMLSourcePropertyMappingListFromJSON(json) {
26
+ return PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json, false);
27
+ }
28
+ export function PaginatedSAMLSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
29
+ if ((json === undefined) || (json === null)) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'pagination': PaginationFromJSON(json['pagination']),
34
+ 'results': (json['results'].map(SAMLSourcePropertyMappingFromJSON)),
35
+ };
36
+ }
37
+ export function PaginatedSAMLSourcePropertyMappingListToJSON(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(SAMLSourcePropertyMappingToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,43 @@
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
+ * OAuthSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedOAuthSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedOAuthSourcePropertyMappingRequest {
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 PatchedOAuthSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedOAuthSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedOAuthSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedOAuthSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedOAuthSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedOAuthSourcePropertyMappingRequestFromJSON(json: any): PatchedOAuthSourcePropertyMappingRequest;
42
+ export declare function PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedOAuthSourcePropertyMappingRequest;
43
+ export declare function PatchedOAuthSourcePropertyMappingRequestToJSON(value?: PatchedOAuthSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,47 @@
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
+ /**
16
+ * Check if a given object implements the PatchedOAuthSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfPatchedOAuthSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedOAuthSourcePropertyMappingRequestFromJSON(json) {
23
+ return PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedOAuthSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
31
+ 'name': !exists(json, 'name') ? undefined : json['name'],
32
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
33
+ };
34
+ }
35
+ export function PatchedOAuthSourcePropertyMappingRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'managed': value.managed,
44
+ 'name': value.name,
45
+ 'expression': value.expression,
46
+ };
47
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
12
13
  import type { PolicyEngineMode } from './PolicyEngineMode';
13
14
  import type { ProviderTypeEnum } from './ProviderTypeEnum';
14
15
  import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
@@ -78,6 +79,12 @@ export interface PatchedOAuthSourceRequest {
78
79
  * @memberof PatchedOAuthSourceRequest
79
80
  */
80
81
  userPathTemplate?: string;
82
+ /**
83
+ *
84
+ * @type {GroupMatchingModeEnum}
85
+ * @memberof PatchedOAuthSourceRequest
86
+ */
87
+ groupMatchingMode?: GroupMatchingModeEnum;
81
88
  /**
82
89
  *
83
90
  * @type {ProviderTypeEnum}
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
+ import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
15
16
  import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
16
17
  import { ProviderTypeEnumFromJSON, ProviderTypeEnumToJSON, } from './ProviderTypeEnum';
17
18
  import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
@@ -40,6 +41,7 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator
40
41
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
41
42
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
42
43
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
44
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
43
45
  'providerType': !exists(json, 'provider_type') ? undefined : ProviderTypeEnumFromJSON(json['provider_type']),
44
46
  'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
45
47
  'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
@@ -71,6 +73,7 @@ export function PatchedOAuthSourceRequestToJSON(value) {
71
73
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
72
74
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
73
75
  'user_path_template': value.userPathTemplate,
76
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
74
77
  'provider_type': ProviderTypeEnumToJSON(value.providerType),
75
78
  'request_token_url': value.requestTokenUrl,
76
79
  'authorization_url': value.authorizationUrl,
@@ -0,0 +1,43 @@
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
+ * SAMLSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface PatchedSAMLSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedSAMLSourcePropertyMappingRequest {
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 PatchedSAMLSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedSAMLSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedSAMLSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedSAMLSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedSAMLSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedSAMLSourcePropertyMappingRequestFromJSON(json: any): PatchedSAMLSourcePropertyMappingRequest;
42
+ export declare function PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSAMLSourcePropertyMappingRequest;
43
+ export declare function PatchedSAMLSourcePropertyMappingRequestToJSON(value?: PatchedSAMLSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,47 @@
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
+ /**
16
+ * Check if a given object implements the PatchedSAMLSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfPatchedSAMLSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function PatchedSAMLSourcePropertyMappingRequestFromJSON(json) {
23
+ return PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json, false);
24
+ }
25
+ export function PatchedSAMLSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
31
+ 'name': !exists(json, 'name') ? undefined : json['name'],
32
+ 'expression': !exists(json, 'expression') ? undefined : json['expression'],
33
+ };
34
+ }
35
+ export function PatchedSAMLSourcePropertyMappingRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'managed': value.managed,
44
+ 'name': value.name,
45
+ 'expression': value.expression,
46
+ };
47
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { BindingTypeEnum } from './BindingTypeEnum';
13
13
  import type { DigestAlgorithmEnum } from './DigestAlgorithmEnum';
14
+ import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
14
15
  import type { NameIdPolicyEnum } from './NameIdPolicyEnum';
15
16
  import type { PolicyEngineMode } from './PolicyEngineMode';
16
17
  import type { SignatureAlgorithmEnum } from './SignatureAlgorithmEnum';
@@ -81,6 +82,12 @@ export interface PatchedSAMLSourceRequest {
81
82
  * @memberof PatchedSAMLSourceRequest
82
83
  */
83
84
  userPathTemplate?: string;
85
+ /**
86
+ *
87
+ * @type {GroupMatchingModeEnum}
88
+ * @memberof PatchedSAMLSourceRequest
89
+ */
90
+ groupMatchingMode?: GroupMatchingModeEnum;
84
91
  /**
85
92
  * Flow used before authentication.
86
93
  * @type {string}
@@ -153,6 +160,12 @@ export interface PatchedSAMLSourceRequest {
153
160
  * @memberof PatchedSAMLSourceRequest
154
161
  */
155
162
  temporaryUserDeleteAfter?: string;
163
+ /**
164
+ * When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
165
+ * @type {string}
166
+ * @memberof PatchedSAMLSourceRequest
167
+ */
168
+ encryptionKp?: string | null;
156
169
  }
157
170
  /**
158
171
  * Check if a given object implements the PatchedSAMLSourceRequest interface.
@@ -14,6 +14,7 @@
14
14
  import { exists } from '../runtime';
15
15
  import { BindingTypeEnumFromJSON, BindingTypeEnumToJSON, } from './BindingTypeEnum';
16
16
  import { DigestAlgorithmEnumFromJSON, DigestAlgorithmEnumToJSON, } from './DigestAlgorithmEnum';
17
+ import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
17
18
  import { NameIdPolicyEnumFromJSON, NameIdPolicyEnumToJSON, } from './NameIdPolicyEnum';
18
19
  import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
19
20
  import { SignatureAlgorithmEnumFromJSON, SignatureAlgorithmEnumToJSON, } from './SignatureAlgorithmEnum';
@@ -43,6 +44,7 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
43
44
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
44
45
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
45
46
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
47
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
46
48
  'preAuthenticationFlow': !exists(json, 'pre_authentication_flow') ? undefined : json['pre_authentication_flow'],
47
49
  'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
48
50
  'ssoUrl': !exists(json, 'sso_url') ? undefined : json['sso_url'],
@@ -55,6 +57,7 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator)
55
57
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
56
58
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
57
59
  'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
60
+ 'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
58
61
  };
59
62
  }
60
63
  export function PatchedSAMLSourceRequestToJSON(value) {
@@ -75,6 +78,7 @@ export function PatchedSAMLSourceRequestToJSON(value) {
75
78
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
76
79
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
77
80
  'user_path_template': value.userPathTemplate,
81
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
78
82
  'pre_authentication_flow': value.preAuthenticationFlow,
79
83
  'issuer': value.issuer,
80
84
  'sso_url': value.ssoUrl,
@@ -87,5 +91,6 @@ export function PatchedSAMLSourceRequestToJSON(value) {
87
91
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
88
92
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
89
93
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
94
+ 'encryption_kp': value.encryptionKp,
90
95
  };
91
96
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { BindingTypeEnum } from './BindingTypeEnum';
13
13
  import type { DigestAlgorithmEnum } from './DigestAlgorithmEnum';
14
+ import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
14
15
  import type { NameIdPolicyEnum } from './NameIdPolicyEnum';
15
16
  import type { PolicyEngineMode } from './PolicyEngineMode';
16
17
  import type { SignatureAlgorithmEnum } from './SignatureAlgorithmEnum';
@@ -123,6 +124,12 @@ export interface SAMLSource {
123
124
  * @memberof SAMLSource
124
125
  */
125
126
  readonly icon: string;
127
+ /**
128
+ *
129
+ * @type {GroupMatchingModeEnum}
130
+ * @memberof SAMLSource
131
+ */
132
+ groupMatchingMode?: GroupMatchingModeEnum;
126
133
  /**
127
134
  * Flow used before authentication.
128
135
  * @type {string}
@@ -195,6 +202,12 @@ export interface SAMLSource {
195
202
  * @memberof SAMLSource
196
203
  */
197
204
  temporaryUserDeleteAfter?: string;
205
+ /**
206
+ * When selected, incoming assertions are encrypted by the IdP using the public key of the encryption keypair. The assertion is decrypted by the SP using the the private key.
207
+ * @type {string}
208
+ * @memberof SAMLSource
209
+ */
210
+ encryptionKp?: string | null;
198
211
  }
199
212
  /**
200
213
  * Check if a given object implements the SAMLSource interface.
@@ -14,6 +14,7 @@
14
14
  import { exists } from '../runtime';
15
15
  import { BindingTypeEnumFromJSON, BindingTypeEnumToJSON, } from './BindingTypeEnum';
16
16
  import { DigestAlgorithmEnumFromJSON, DigestAlgorithmEnumToJSON, } from './DigestAlgorithmEnum';
17
+ import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
17
18
  import { NameIdPolicyEnumFromJSON, NameIdPolicyEnumToJSON, } from './NameIdPolicyEnum';
18
19
  import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
19
20
  import { SignatureAlgorithmEnumFromJSON, SignatureAlgorithmEnumToJSON, } from './SignatureAlgorithmEnum';
@@ -61,6 +62,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
61
62
  'managed': json['managed'],
62
63
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
63
64
  'icon': json['icon'],
65
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
64
66
  'preAuthenticationFlow': json['pre_authentication_flow'],
65
67
  'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
66
68
  'ssoUrl': json['sso_url'],
@@ -73,6 +75,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
73
75
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
74
76
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
75
77
  'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
78
+ 'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
76
79
  };
77
80
  }
78
81
  export function SAMLSourceToJSON(value) {
@@ -93,6 +96,7 @@ export function SAMLSourceToJSON(value) {
93
96
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
94
97
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
95
98
  'user_path_template': value.userPathTemplate,
99
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
96
100
  'pre_authentication_flow': value.preAuthenticationFlow,
97
101
  'issuer': value.issuer,
98
102
  'sso_url': value.ssoUrl,
@@ -105,5 +109,6 @@ export function SAMLSourceToJSON(value) {
105
109
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
106
110
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
107
111
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
112
+ 'encryption_kp': value.encryptionKp,
108
113
  };
109
114
  }