@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,73 @@
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 SAMLSourcePropertyMapping
16
+ */
17
+ export interface SAMLSourcePropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SAMLSourcePropertyMapping
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 SAMLSourcePropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SAMLSourcePropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SAMLSourcePropertyMapping
40
+ */
41
+ expression: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof SAMLSourcePropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof SAMLSourcePropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof SAMLSourcePropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof SAMLSourcePropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the SAMLSourcePropertyMapping interface.
69
+ */
70
+ export declare function instanceOfSAMLSourcePropertyMapping(value: object): boolean;
71
+ export declare function SAMLSourcePropertyMappingFromJSON(json: any): SAMLSourcePropertyMapping;
72
+ export declare function SAMLSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SAMLSourcePropertyMapping;
73
+ export declare function SAMLSourcePropertyMappingToJSON(value?: SAMLSourcePropertyMapping | null): any;
@@ -0,0 +1,59 @@
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 SAMLSourcePropertyMapping interface.
17
+ */
18
+ export function instanceOfSAMLSourcePropertyMapping(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "pk" in value;
21
+ isInstance = isInstance && "name" in value;
22
+ isInstance = isInstance && "expression" in value;
23
+ isInstance = isInstance && "component" in value;
24
+ isInstance = isInstance && "verboseName" in value;
25
+ isInstance = isInstance && "verboseNamePlural" in value;
26
+ isInstance = isInstance && "metaModelName" in value;
27
+ return isInstance;
28
+ }
29
+ export function SAMLSourcePropertyMappingFromJSON(json) {
30
+ return SAMLSourcePropertyMappingFromJSONTyped(json, false);
31
+ }
32
+ export function SAMLSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pk': json['pk'],
38
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
39
+ 'name': json['name'],
40
+ 'expression': json['expression'],
41
+ 'component': json['component'],
42
+ 'verboseName': json['verbose_name'],
43
+ 'verboseNamePlural': json['verbose_name_plural'],
44
+ 'metaModelName': json['meta_model_name'],
45
+ };
46
+ }
47
+ export function SAMLSourcePropertyMappingToJSON(value) {
48
+ if (value === undefined) {
49
+ return undefined;
50
+ }
51
+ if (value === null) {
52
+ return null;
53
+ }
54
+ return {
55
+ 'managed': value.managed,
56
+ 'name': value.name,
57
+ 'expression': value.expression,
58
+ };
59
+ }
@@ -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 SAMLSourcePropertyMappingRequest
16
+ */
17
+ export interface SAMLSourcePropertyMappingRequest {
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 SAMLSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SAMLSourcePropertyMappingRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SAMLSourcePropertyMappingRequest
34
+ */
35
+ expression: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SAMLSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfSAMLSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function SAMLSourcePropertyMappingRequestFromJSON(json: any): SAMLSourcePropertyMappingRequest;
42
+ export declare function SAMLSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SAMLSourcePropertyMappingRequest;
43
+ export declare function SAMLSourcePropertyMappingRequestToJSON(value?: SAMLSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,49 @@
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 SAMLSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfSAMLSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ isInstance = isInstance && "expression" in value;
22
+ return isInstance;
23
+ }
24
+ export function SAMLSourcePropertyMappingRequestFromJSON(json) {
25
+ return SAMLSourcePropertyMappingRequestFromJSONTyped(json, false);
26
+ }
27
+ export function SAMLSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'managed': !exists(json, 'managed') ? undefined : json['managed'],
33
+ 'name': json['name'],
34
+ 'expression': json['expression'],
35
+ };
36
+ }
37
+ export function SAMLSourcePropertyMappingRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'managed': value.managed,
46
+ 'name': value.name,
47
+ 'expression': value.expression,
48
+ };
49
+ }
@@ -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 SAMLSourceRequest {
81
82
  * @memberof SAMLSourceRequest
82
83
  */
83
84
  userPathTemplate?: string;
85
+ /**
86
+ *
87
+ * @type {GroupMatchingModeEnum}
88
+ * @memberof SAMLSourceRequest
89
+ */
90
+ groupMatchingMode?: GroupMatchingModeEnum;
84
91
  /**
85
92
  * Flow used before authentication.
86
93
  * @type {string}
@@ -153,6 +160,12 @@ export interface SAMLSourceRequest {
153
160
  * @memberof SAMLSourceRequest
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 SAMLSourceRequest
167
+ */
168
+ encryptionKp?: string | null;
156
169
  }
157
170
  /**
158
171
  * Check if a given object implements the SAMLSourceRequest 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';
@@ -47,6 +48,7 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
47
48
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
48
49
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
49
50
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
51
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
50
52
  'preAuthenticationFlow': json['pre_authentication_flow'],
51
53
  'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
52
54
  'ssoUrl': json['sso_url'],
@@ -59,6 +61,7 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
59
61
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
60
62
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
61
63
  'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
64
+ 'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
62
65
  };
63
66
  }
64
67
  export function SAMLSourceRequestToJSON(value) {
@@ -79,6 +82,7 @@ export function SAMLSourceRequestToJSON(value) {
79
82
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
80
83
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
81
84
  'user_path_template': value.userPathTemplate,
85
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
82
86
  'pre_authentication_flow': value.preAuthenticationFlow,
83
87
  'issuer': value.issuer,
84
88
  'sso_url': value.ssoUrl,
@@ -91,5 +95,6 @@ export function SAMLSourceRequestToJSON(value) {
91
95
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
92
96
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
93
97
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
98
+ 'encryption_kp': value.encryptionKp,
94
99
  };
95
100
  }
@@ -155,9 +155,12 @@ export * from './GoogleWorkspaceProviderRequest';
155
155
  export * from './GoogleWorkspaceProviderUser';
156
156
  export * from './GoogleWorkspaceProviderUserRequest';
157
157
  export * from './Group';
158
+ export * from './GroupMatchingModeEnum';
158
159
  export * from './GroupMember';
159
160
  export * from './GroupMemberRequest';
161
+ export * from './GroupOAuthSourceConnection';
160
162
  export * from './GroupRequest';
163
+ export * from './GroupSAMLSourceConnection';
161
164
  export * from './IdentificationChallenge';
162
165
  export * from './IdentificationChallengeResponseRequest';
163
166
  export * from './IdentificationStage';
@@ -223,6 +226,8 @@ export * from './OAuthDeviceCodeChallengeResponseRequest';
223
226
  export * from './OAuthDeviceCodeFinishChallenge';
224
227
  export * from './OAuthDeviceCodeFinishChallengeResponseRequest';
225
228
  export * from './OAuthSource';
229
+ export * from './OAuthSourcePropertyMapping';
230
+ export * from './OAuthSourcePropertyMappingRequest';
226
231
  export * from './OAuthSourceRequest';
227
232
  export * from './OpenIDConnectConfiguration';
228
233
  export * from './OutgoingSyncDeleteAction';
@@ -267,6 +272,8 @@ export * from './PaginatedGoogleWorkspaceProviderList';
267
272
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
268
273
  export * from './PaginatedGoogleWorkspaceProviderUserList';
269
274
  export * from './PaginatedGroupList';
275
+ export * from './PaginatedGroupOAuthSourceConnectionList';
276
+ export * from './PaginatedGroupSAMLSourceConnectionList';
270
277
  export * from './PaginatedIdentificationStageList';
271
278
  export * from './PaginatedInvitationList';
272
279
  export * from './PaginatedInvitationStageList';
@@ -286,6 +293,7 @@ export * from './PaginatedNotificationTransportList';
286
293
  export * from './PaginatedNotificationWebhookMappingList';
287
294
  export * from './PaginatedOAuth2ProviderList';
288
295
  export * from './PaginatedOAuthSourceList';
296
+ export * from './PaginatedOAuthSourcePropertyMappingList';
289
297
  export * from './PaginatedOutpostList';
290
298
  export * from './PaginatedPasswordExpiryPolicyList';
291
299
  export * from './PaginatedPasswordPolicyList';
@@ -313,6 +321,7 @@ export * from './PaginatedRoleList';
313
321
  export * from './PaginatedSAMLPropertyMappingList';
314
322
  export * from './PaginatedSAMLProviderList';
315
323
  export * from './PaginatedSAMLSourceList';
324
+ export * from './PaginatedSAMLSourcePropertyMappingList';
316
325
  export * from './PaginatedSCIMMappingList';
317
326
  export * from './PaginatedSCIMProviderGroupList';
318
327
  export * from './PaginatedSCIMProviderList';
@@ -401,6 +410,7 @@ export * from './PatchedNotificationRuleRequest';
401
410
  export * from './PatchedNotificationTransportRequest';
402
411
  export * from './PatchedNotificationWebhookMappingRequest';
403
412
  export * from './PatchedOAuth2ProviderRequest';
413
+ export * from './PatchedOAuthSourcePropertyMappingRequest';
404
414
  export * from './PatchedOAuthSourceRequest';
405
415
  export * from './PatchedOutpostRequest';
406
416
  export * from './PatchedPasswordExpiryPolicyRequest';
@@ -421,6 +431,7 @@ export * from './PatchedReputationPolicyRequest';
421
431
  export * from './PatchedRoleRequest';
422
432
  export * from './PatchedSAMLPropertyMappingRequest';
423
433
  export * from './PatchedSAMLProviderRequest';
434
+ export * from './PatchedSAMLSourcePropertyMappingRequest';
424
435
  export * from './PatchedSAMLSourceRequest';
425
436
  export * from './PatchedSCIMMappingRequest';
426
437
  export * from './PatchedSCIMProviderRequest';
@@ -507,6 +518,8 @@ export * from './SAMLPropertyMappingRequest';
507
518
  export * from './SAMLProvider';
508
519
  export * from './SAMLProviderRequest';
509
520
  export * from './SAMLSource';
521
+ export * from './SAMLSourcePropertyMapping';
522
+ export * from './SAMLSourcePropertyMappingRequest';
510
523
  export * from './SAMLSourceRequest';
511
524
  export * from './SCIMMapping';
512
525
  export * from './SCIMMappingRequest';
@@ -157,9 +157,12 @@ export * from './GoogleWorkspaceProviderRequest';
157
157
  export * from './GoogleWorkspaceProviderUser';
158
158
  export * from './GoogleWorkspaceProviderUserRequest';
159
159
  export * from './Group';
160
+ export * from './GroupMatchingModeEnum';
160
161
  export * from './GroupMember';
161
162
  export * from './GroupMemberRequest';
163
+ export * from './GroupOAuthSourceConnection';
162
164
  export * from './GroupRequest';
165
+ export * from './GroupSAMLSourceConnection';
163
166
  export * from './IdentificationChallenge';
164
167
  export * from './IdentificationChallengeResponseRequest';
165
168
  export * from './IdentificationStage';
@@ -225,6 +228,8 @@ export * from './OAuthDeviceCodeChallengeResponseRequest';
225
228
  export * from './OAuthDeviceCodeFinishChallenge';
226
229
  export * from './OAuthDeviceCodeFinishChallengeResponseRequest';
227
230
  export * from './OAuthSource';
231
+ export * from './OAuthSourcePropertyMapping';
232
+ export * from './OAuthSourcePropertyMappingRequest';
228
233
  export * from './OAuthSourceRequest';
229
234
  export * from './OpenIDConnectConfiguration';
230
235
  export * from './OutgoingSyncDeleteAction';
@@ -269,6 +274,8 @@ export * from './PaginatedGoogleWorkspaceProviderList';
269
274
  export * from './PaginatedGoogleWorkspaceProviderMappingList';
270
275
  export * from './PaginatedGoogleWorkspaceProviderUserList';
271
276
  export * from './PaginatedGroupList';
277
+ export * from './PaginatedGroupOAuthSourceConnectionList';
278
+ export * from './PaginatedGroupSAMLSourceConnectionList';
272
279
  export * from './PaginatedIdentificationStageList';
273
280
  export * from './PaginatedInvitationList';
274
281
  export * from './PaginatedInvitationStageList';
@@ -288,6 +295,7 @@ export * from './PaginatedNotificationTransportList';
288
295
  export * from './PaginatedNotificationWebhookMappingList';
289
296
  export * from './PaginatedOAuth2ProviderList';
290
297
  export * from './PaginatedOAuthSourceList';
298
+ export * from './PaginatedOAuthSourcePropertyMappingList';
291
299
  export * from './PaginatedOutpostList';
292
300
  export * from './PaginatedPasswordExpiryPolicyList';
293
301
  export * from './PaginatedPasswordPolicyList';
@@ -315,6 +323,7 @@ export * from './PaginatedRoleList';
315
323
  export * from './PaginatedSAMLPropertyMappingList';
316
324
  export * from './PaginatedSAMLProviderList';
317
325
  export * from './PaginatedSAMLSourceList';
326
+ export * from './PaginatedSAMLSourcePropertyMappingList';
318
327
  export * from './PaginatedSCIMMappingList';
319
328
  export * from './PaginatedSCIMProviderGroupList';
320
329
  export * from './PaginatedSCIMProviderList';
@@ -403,6 +412,7 @@ export * from './PatchedNotificationRuleRequest';
403
412
  export * from './PatchedNotificationTransportRequest';
404
413
  export * from './PatchedNotificationWebhookMappingRequest';
405
414
  export * from './PatchedOAuth2ProviderRequest';
415
+ export * from './PatchedOAuthSourcePropertyMappingRequest';
406
416
  export * from './PatchedOAuthSourceRequest';
407
417
  export * from './PatchedOutpostRequest';
408
418
  export * from './PatchedPasswordExpiryPolicyRequest';
@@ -423,6 +433,7 @@ export * from './PatchedReputationPolicyRequest';
423
433
  export * from './PatchedRoleRequest';
424
434
  export * from './PatchedSAMLPropertyMappingRequest';
425
435
  export * from './PatchedSAMLProviderRequest';
436
+ export * from './PatchedSAMLSourcePropertyMappingRequest';
426
437
  export * from './PatchedSAMLSourceRequest';
427
438
  export * from './PatchedSCIMMappingRequest';
428
439
  export * from './PatchedSCIMProviderRequest';
@@ -509,6 +520,8 @@ export * from './SAMLPropertyMappingRequest';
509
520
  export * from './SAMLProvider';
510
521
  export * from './SAMLProviderRequest';
511
522
  export * from './SAMLSource';
523
+ export * from './SAMLSourcePropertyMapping';
524
+ export * from './SAMLSourcePropertyMappingRequest';
512
525
  export * from './SAMLSourceRequest';
513
526
  export * from './SCIMMapping';
514
527
  export * from './SCIMMappingRequest';
@@ -0,0 +1,25 @@
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 GroupMatchingModeEnum: {
17
+ readonly Identifier: "identifier";
18
+ readonly NameLink: "name_link";
19
+ readonly NameDeny: "name_deny";
20
+ readonly UnknownDefaultOpenApi: "11184809";
21
+ };
22
+ export type GroupMatchingModeEnum = typeof GroupMatchingModeEnum[keyof typeof GroupMatchingModeEnum];
23
+ export declare function GroupMatchingModeEnumFromJSON(json: any): GroupMatchingModeEnum;
24
+ export declare function GroupMatchingModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupMatchingModeEnum;
25
+ export declare function GroupMatchingModeEnumToJSON(value?: GroupMatchingModeEnum | null): any;
@@ -0,0 +1,38 @@
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.3
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.GroupMatchingModeEnumToJSON = exports.GroupMatchingModeEnumFromJSONTyped = exports.GroupMatchingModeEnumFromJSON = exports.GroupMatchingModeEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ */
21
+ exports.GroupMatchingModeEnum = {
22
+ Identifier: 'identifier',
23
+ NameLink: 'name_link',
24
+ NameDeny: 'name_deny',
25
+ UnknownDefaultOpenApi: '11184809'
26
+ };
27
+ function GroupMatchingModeEnumFromJSON(json) {
28
+ return GroupMatchingModeEnumFromJSONTyped(json, false);
29
+ }
30
+ exports.GroupMatchingModeEnumFromJSON = GroupMatchingModeEnumFromJSON;
31
+ function GroupMatchingModeEnumFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ exports.GroupMatchingModeEnumFromJSONTyped = GroupMatchingModeEnumFromJSONTyped;
35
+ function GroupMatchingModeEnumToJSON(value) {
36
+ return value;
37
+ }
38
+ exports.GroupMatchingModeEnumToJSON = GroupMatchingModeEnumToJSON;
@@ -0,0 +1,56 @@
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 { Source } from './Source';
13
+ /**
14
+ * OAuth Group-Source connection Serializer
15
+ * @export
16
+ * @interface GroupOAuthSourceConnection
17
+ */
18
+ export interface GroupOAuthSourceConnection {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof GroupOAuthSourceConnection
23
+ */
24
+ readonly pk: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GroupOAuthSourceConnection
29
+ */
30
+ readonly group: string;
31
+ /**
32
+ *
33
+ * @type {Source}
34
+ * @memberof GroupOAuthSourceConnection
35
+ */
36
+ readonly source: Source;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GroupOAuthSourceConnection
41
+ */
42
+ readonly identifier: string;
43
+ /**
44
+ *
45
+ * @type {Date}
46
+ * @memberof GroupOAuthSourceConnection
47
+ */
48
+ readonly created: Date;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GroupOAuthSourceConnection interface.
52
+ */
53
+ export declare function instanceOfGroupOAuthSourceConnection(value: object): boolean;
54
+ export declare function GroupOAuthSourceConnectionFromJSON(json: any): GroupOAuthSourceConnection;
55
+ export declare function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnection;
56
+ export declare function GroupOAuthSourceConnectionToJSON(value?: GroupOAuthSourceConnection | null): any;
@@ -0,0 +1,57 @@
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.3
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.GroupOAuthSourceConnectionToJSON = exports.GroupOAuthSourceConnectionFromJSONTyped = exports.GroupOAuthSourceConnectionFromJSON = exports.instanceOfGroupOAuthSourceConnection = void 0;
17
+ const Source_1 = require("./Source");
18
+ /**
19
+ * Check if a given object implements the GroupOAuthSourceConnection interface.
20
+ */
21
+ function instanceOfGroupOAuthSourceConnection(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "group" in value;
25
+ isInstance = isInstance && "source" in value;
26
+ isInstance = isInstance && "identifier" in value;
27
+ isInstance = isInstance && "created" in value;
28
+ return isInstance;
29
+ }
30
+ exports.instanceOfGroupOAuthSourceConnection = instanceOfGroupOAuthSourceConnection;
31
+ function GroupOAuthSourceConnectionFromJSON(json) {
32
+ return GroupOAuthSourceConnectionFromJSONTyped(json, false);
33
+ }
34
+ exports.GroupOAuthSourceConnectionFromJSON = GroupOAuthSourceConnectionFromJSON;
35
+ function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
36
+ if ((json === undefined) || (json === null)) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'pk': json['pk'],
41
+ 'group': json['group'],
42
+ 'source': (0, Source_1.SourceFromJSON)(json['source']),
43
+ 'identifier': json['identifier'],
44
+ 'created': (new Date(json['created'])),
45
+ };
46
+ }
47
+ exports.GroupOAuthSourceConnectionFromJSONTyped = GroupOAuthSourceConnectionFromJSONTyped;
48
+ function GroupOAuthSourceConnectionToJSON(value) {
49
+ if (value === undefined) {
50
+ return undefined;
51
+ }
52
+ if (value === null) {
53
+ return null;
54
+ }
55
+ return {};
56
+ }
57
+ exports.GroupOAuthSourceConnectionToJSON = GroupOAuthSourceConnectionToJSON;
@@ -0,0 +1,56 @@
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 { Source } from './Source';
13
+ /**
14
+ * OAuth Group-Source connection Serializer
15
+ * @export
16
+ * @interface GroupSAMLSourceConnection
17
+ */
18
+ export interface GroupSAMLSourceConnection {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof GroupSAMLSourceConnection
23
+ */
24
+ readonly pk: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GroupSAMLSourceConnection
29
+ */
30
+ readonly group: string;
31
+ /**
32
+ *
33
+ * @type {Source}
34
+ * @memberof GroupSAMLSourceConnection
35
+ */
36
+ readonly source: Source;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GroupSAMLSourceConnection
41
+ */
42
+ readonly identifier: string;
43
+ /**
44
+ *
45
+ * @type {Date}
46
+ * @memberof GroupSAMLSourceConnection
47
+ */
48
+ readonly created: Date;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GroupSAMLSourceConnection interface.
52
+ */
53
+ export declare function instanceOfGroupSAMLSourceConnection(value: object): boolean;
54
+ export declare function GroupSAMLSourceConnectionFromJSON(json: any): GroupSAMLSourceConnection;
55
+ export declare function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnection;
56
+ export declare function GroupSAMLSourceConnectionToJSON(value?: GroupSAMLSourceConnection | null): any;