@goauthentik/api 2024.6.3-1723050887 → 2024.6.3-1723109801

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. package/.openapi-generator/FILES +10 -4
  2. package/dist/apis/PropertymappingsApi.d.ts +86 -1
  3. package/dist/apis/PropertymappingsApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +6 -2
  5. package/dist/apis/RbacApi.js +6 -2
  6. package/dist/apis/SourcesApi.d.ts +104 -14
  7. package/dist/apis/SourcesApi.js +281 -13
  8. package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
  9. package/dist/esm/apis/PropertymappingsApi.js +272 -1
  10. package/dist/esm/apis/RbacApi.d.ts +6 -2
  11. package/dist/esm/apis/RbacApi.js +6 -2
  12. package/dist/esm/apis/SourcesApi.d.ts +104 -14
  13. package/dist/esm/apis/SourcesApi.js +281 -13
  14. package/dist/esm/models/GroupPlexSourceConnection.d.ts +56 -0
  15. package/dist/esm/models/GroupPlexSourceConnection.js +50 -0
  16. package/dist/esm/models/ModelEnum.d.ts +3 -1
  17. package/dist/esm/models/ModelEnum.js +3 -1
  18. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  19. package/dist/esm/models/PaginatedGroupPlexSourceConnectionList.js +48 -0
  20. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  21. package/dist/esm/models/PaginatedPlexSourcePropertyMappingList.js +48 -0
  22. package/dist/esm/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  23. package/dist/esm/models/{PaginatedPlexSourceConnectionList.js → PaginatedUserPlexSourceConnectionList.js} +9 -9
  24. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  25. package/dist/esm/models/PatchedPlexSourcePropertyMappingRequest.js +47 -0
  26. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +7 -0
  27. package/dist/esm/models/PatchedPlexSourceRequest.js +3 -0
  28. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +6 -0
  29. package/dist/esm/models/PatchedSAMLSourceRequest.js +2 -0
  30. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  31. package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
  32. package/dist/esm/models/PlexSource.d.ts +7 -0
  33. package/dist/esm/models/PlexSource.js +3 -0
  34. package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
  35. package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
  36. package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  37. package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
  38. package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
  39. package/dist/esm/models/PlexSourceRequest.js +3 -0
  40. package/dist/esm/models/SAMLSource.d.ts +6 -0
  41. package/dist/esm/models/SAMLSource.js +2 -0
  42. package/dist/esm/models/SAMLSourceRequest.d.ts +6 -0
  43. package/dist/esm/models/SAMLSourceRequest.js +2 -0
  44. package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
  45. package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
  46. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  47. package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
  48. package/dist/esm/models/index.d.ts +10 -4
  49. package/dist/esm/models/index.js +10 -4
  50. package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
  51. package/dist/models/GroupPlexSourceConnection.js +57 -0
  52. package/dist/models/ModelEnum.d.ts +3 -1
  53. package/dist/models/ModelEnum.js +3 -1
  54. package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  55. package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
  56. package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  57. package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
  58. package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  59. package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
  60. package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  61. package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
  62. package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
  63. package/dist/models/PatchedPlexSourceRequest.js +3 -0
  64. package/dist/models/PatchedSAMLSourceRequest.d.ts +6 -0
  65. package/dist/models/PatchedSAMLSourceRequest.js +2 -0
  66. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  67. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
  68. package/dist/models/PlexSource.d.ts +7 -0
  69. package/dist/models/PlexSource.js +3 -0
  70. package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
  71. package/dist/models/PlexSourcePropertyMapping.js +66 -0
  72. package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  73. package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
  74. package/dist/models/PlexSourceRequest.d.ts +7 -0
  75. package/dist/models/PlexSourceRequest.js +3 -0
  76. package/dist/models/SAMLSource.d.ts +6 -0
  77. package/dist/models/SAMLSource.js +2 -0
  78. package/dist/models/SAMLSourceRequest.d.ts +6 -0
  79. package/dist/models/SAMLSourceRequest.js +2 -0
  80. package/dist/models/UserPlexSourceConnection.d.ts +56 -0
  81. package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
  82. package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  83. package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
  84. package/dist/models/index.d.ts +10 -4
  85. package/dist/models/index.js +10 -4
  86. package/package.json +1 -1
  87. package/src/apis/PropertymappingsApi.ts +350 -0
  88. package/src/apis/RbacApi.ts +6 -2
  89. package/src/apis/SourcesApi.ts +368 -37
  90. package/src/models/GroupPlexSourceConnection.ts +104 -0
  91. package/src/models/ModelEnum.ts +3 -1
  92. package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
  93. package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
  94. package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
  95. package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
  96. package/src/models/PatchedPlexSourceRequest.ts +14 -0
  97. package/src/models/PatchedSAMLSourceRequest.ts +8 -0
  98. package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
  99. package/src/models/PlexSource.ts +14 -0
  100. package/src/models/PlexSourcePropertyMapping.ts +123 -0
  101. package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
  102. package/src/models/PlexSourceRequest.ts +14 -0
  103. package/src/models/SAMLSource.ts +8 -0
  104. package/src/models/SAMLSourceRequest.ts +8 -0
  105. package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
  106. package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
  107. package/src/models/index.ts +10 -4
  108. package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  109. package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  110. package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
  111. package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
  112. package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  113. package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
  114. package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  115. package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
  116. package/dist/models/PlexSourceConnection.d.ts +0 -56
  117. package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
  118. package/dist/models/PlexSourceConnectionRequest.js +0 -53
@@ -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
+ * PlexSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface PlexSourcePropertyMapping
16
+ */
17
+ export interface PlexSourcePropertyMapping {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PlexSourcePropertyMapping
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 PlexSourcePropertyMapping
28
+ */
29
+ managed?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PlexSourcePropertyMapping
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PlexSourcePropertyMapping
40
+ */
41
+ expression: string;
42
+ /**
43
+ * Get object's component so that we know how to edit the object
44
+ * @type {string}
45
+ * @memberof PlexSourcePropertyMapping
46
+ */
47
+ readonly component: string;
48
+ /**
49
+ * Return object's verbose_name
50
+ * @type {string}
51
+ * @memberof PlexSourcePropertyMapping
52
+ */
53
+ readonly verboseName: string;
54
+ /**
55
+ * Return object's plural verbose_name
56
+ * @type {string}
57
+ * @memberof PlexSourcePropertyMapping
58
+ */
59
+ readonly verboseNamePlural: string;
60
+ /**
61
+ * Return internal model name
62
+ * @type {string}
63
+ * @memberof PlexSourcePropertyMapping
64
+ */
65
+ readonly metaModelName: string;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PlexSourcePropertyMapping interface.
69
+ */
70
+ export declare function instanceOfPlexSourcePropertyMapping(value: object): boolean;
71
+ export declare function PlexSourcePropertyMappingFromJSON(json: any): PlexSourcePropertyMapping;
72
+ export declare function PlexSourcePropertyMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourcePropertyMapping;
73
+ export declare function PlexSourcePropertyMappingToJSON(value?: PlexSourcePropertyMapping | 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 PlexSourcePropertyMapping interface.
17
+ */
18
+ export function instanceOfPlexSourcePropertyMapping(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 PlexSourcePropertyMappingFromJSON(json) {
30
+ return PlexSourcePropertyMappingFromJSONTyped(json, false);
31
+ }
32
+ export function PlexSourcePropertyMappingFromJSONTyped(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 PlexSourcePropertyMappingToJSON(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
+ * PlexSourcePropertyMapping Serializer
14
+ * @export
15
+ * @interface PlexSourcePropertyMappingRequest
16
+ */
17
+ export interface PlexSourcePropertyMappingRequest {
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 PlexSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PlexSourcePropertyMappingRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PlexSourcePropertyMappingRequest
34
+ */
35
+ expression: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PlexSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPlexSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PlexSourcePropertyMappingRequestFromJSON(json: any): PlexSourcePropertyMappingRequest;
42
+ export declare function PlexSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourcePropertyMappingRequest;
43
+ export declare function PlexSourcePropertyMappingRequestToJSON(value?: PlexSourcePropertyMappingRequest | 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 PlexSourcePropertyMappingRequest interface.
17
+ */
18
+ export function instanceOfPlexSourcePropertyMappingRequest(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "name" in value;
21
+ isInstance = isInstance && "expression" in value;
22
+ return isInstance;
23
+ }
24
+ export function PlexSourcePropertyMappingRequestFromJSON(json) {
25
+ return PlexSourcePropertyMappingRequestFromJSONTyped(json, false);
26
+ }
27
+ export function PlexSourcePropertyMappingRequestFromJSONTyped(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 PlexSourcePropertyMappingRequestToJSON(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
+ }
@@ -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 { UserMatchingModeEnum } from './UserMatchingModeEnum';
14
15
  /**
@@ -77,6 +78,12 @@ export interface PlexSourceRequest {
77
78
  * @memberof PlexSourceRequest
78
79
  */
79
80
  userPathTemplate?: string;
81
+ /**
82
+ *
83
+ * @type {GroupMatchingModeEnum}
84
+ * @memberof PlexSourceRequest
85
+ */
86
+ groupMatchingMode?: GroupMatchingModeEnum;
80
87
  /**
81
88
  * Client identifier used to talk to Plex.
82
89
  * @type {string}
@@ -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 { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
17
18
  /**
@@ -42,6 +43,7 @@ export function PlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
42
43
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
43
44
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
44
45
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
46
+ 'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
45
47
  'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
46
48
  'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
47
49
  'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -66,6 +68,7 @@ export function PlexSourceRequestToJSON(value) {
66
68
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
67
69
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
68
70
  'user_path_template': value.userPathTemplate,
71
+ 'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
69
72
  'client_id': value.clientId,
70
73
  'allowed_servers': value.allowedServers,
71
74
  'allow_friends': value.allowFriends,
@@ -202,6 +202,12 @@ export interface SAMLSource {
202
202
  * @memberof SAMLSource
203
203
  */
204
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;
205
211
  }
206
212
  /**
207
213
  * Check if a given object implements the SAMLSource interface.
@@ -75,6 +75,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
75
75
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
76
76
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
77
77
  'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
78
+ 'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
78
79
  };
79
80
  }
80
81
  export function SAMLSourceToJSON(value) {
@@ -108,5 +109,6 @@ export function SAMLSourceToJSON(value) {
108
109
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
109
110
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
110
111
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
112
+ 'encryption_kp': value.encryptionKp,
111
113
  };
112
114
  }
@@ -160,6 +160,12 @@ export interface SAMLSourceRequest {
160
160
  * @memberof SAMLSourceRequest
161
161
  */
162
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;
163
169
  }
164
170
  /**
165
171
  * Check if a given object implements the SAMLSourceRequest interface.
@@ -61,6 +61,7 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'digestAlgorithm': !exists(json, 'digest_algorithm') ? undefined : DigestAlgorithmEnumFromJSON(json['digest_algorithm']),
62
62
  'signatureAlgorithm': !exists(json, 'signature_algorithm') ? undefined : SignatureAlgorithmEnumFromJSON(json['signature_algorithm']),
63
63
  'temporaryUserDeleteAfter': !exists(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
64
+ 'encryptionKp': !exists(json, 'encryption_kp') ? undefined : json['encryption_kp'],
64
65
  };
65
66
  }
66
67
  export function SAMLSourceRequestToJSON(value) {
@@ -94,5 +95,6 @@ export function SAMLSourceRequestToJSON(value) {
94
95
  'digest_algorithm': DigestAlgorithmEnumToJSON(value.digestAlgorithm),
95
96
  'signature_algorithm': SignatureAlgorithmEnumToJSON(value.signatureAlgorithm),
96
97
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
98
+ 'encryption_kp': value.encryptionKp,
97
99
  };
98
100
  }
@@ -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
+ * Plex Source connection Serializer
15
+ * @export
16
+ * @interface UserPlexSourceConnection
17
+ */
18
+ export interface UserPlexSourceConnection {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof UserPlexSourceConnection
23
+ */
24
+ readonly pk: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof UserPlexSourceConnection
29
+ */
30
+ readonly user: number;
31
+ /**
32
+ *
33
+ * @type {Source}
34
+ * @memberof UserPlexSourceConnection
35
+ */
36
+ readonly source: Source;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof UserPlexSourceConnection
41
+ */
42
+ readonly created: Date;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof UserPlexSourceConnection
47
+ */
48
+ identifier: string;
49
+ }
50
+ /**
51
+ * Check if a given object implements the UserPlexSourceConnection interface.
52
+ */
53
+ export declare function instanceOfUserPlexSourceConnection(value: object): boolean;
54
+ export declare function UserPlexSourceConnectionFromJSON(json: any): UserPlexSourceConnection;
55
+ export declare function UserPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnection;
56
+ export declare function UserPlexSourceConnectionToJSON(value?: UserPlexSourceConnection | null): any;
@@ -13,9 +13,9 @@
13
13
  */
14
14
  import { SourceFromJSON, } from './Source';
15
15
  /**
16
- * Check if a given object implements the PlexSourceConnection interface.
16
+ * Check if a given object implements the UserPlexSourceConnection interface.
17
17
  */
18
- export function instanceOfPlexSourceConnection(value) {
18
+ export function instanceOfUserPlexSourceConnection(value) {
19
19
  let isInstance = true;
20
20
  isInstance = isInstance && "pk" in value;
21
21
  isInstance = isInstance && "user" in value;
@@ -24,10 +24,10 @@ export function instanceOfPlexSourceConnection(value) {
24
24
  isInstance = isInstance && "identifier" in value;
25
25
  return isInstance;
26
26
  }
27
- export function PlexSourceConnectionFromJSON(json) {
28
- return PlexSourceConnectionFromJSONTyped(json, false);
27
+ export function UserPlexSourceConnectionFromJSON(json) {
28
+ return UserPlexSourceConnectionFromJSONTyped(json, false);
29
29
  }
30
- export function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if ((json === undefined) || (json === null)) {
32
32
  return json;
33
33
  }
@@ -39,7 +39,7 @@ export function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'identifier': json['identifier'],
40
40
  };
41
41
  }
42
- export function PlexSourceConnectionToJSON(value) {
42
+ export function UserPlexSourceConnectionToJSON(value) {
43
43
  if (value === undefined) {
44
44
  return undefined;
45
45
  }
@@ -0,0 +1,37 @@
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
+ * Plex Source connection Serializer
14
+ * @export
15
+ * @interface UserPlexSourceConnectionRequest
16
+ */
17
+ export interface UserPlexSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UserPlexSourceConnectionRequest
22
+ */
23
+ identifier: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof UserPlexSourceConnectionRequest
28
+ */
29
+ plexToken: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the UserPlexSourceConnectionRequest interface.
33
+ */
34
+ export declare function instanceOfUserPlexSourceConnectionRequest(value: object): boolean;
35
+ export declare function UserPlexSourceConnectionRequestFromJSON(json: any): UserPlexSourceConnectionRequest;
36
+ export declare function UserPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPlexSourceConnectionRequest;
37
+ export declare function UserPlexSourceConnectionRequestToJSON(value?: UserPlexSourceConnectionRequest | null): any;
@@ -12,18 +12,18 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the PlexSourceConnectionRequest interface.
15
+ * Check if a given object implements the UserPlexSourceConnectionRequest interface.
16
16
  */
17
- export function instanceOfPlexSourceConnectionRequest(value) {
17
+ export function instanceOfUserPlexSourceConnectionRequest(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "identifier" in value;
20
20
  isInstance = isInstance && "plexToken" in value;
21
21
  return isInstance;
22
22
  }
23
- export function PlexSourceConnectionRequestFromJSON(json) {
24
- return PlexSourceConnectionRequestFromJSONTyped(json, false);
23
+ export function UserPlexSourceConnectionRequestFromJSON(json) {
24
+ return UserPlexSourceConnectionRequestFromJSONTyped(json, false);
25
25
  }
26
- export function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ export function UserPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
27
27
  if ((json === undefined) || (json === null)) {
28
28
  return json;
29
29
  }
@@ -32,7 +32,7 @@ export function PlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminat
32
32
  'plexToken': json['plex_token'],
33
33
  };
34
34
  }
35
- export function PlexSourceConnectionRequestToJSON(value) {
35
+ export function UserPlexSourceConnectionRequestToJSON(value) {
36
36
  if (value === undefined) {
37
37
  return undefined;
38
38
  }
@@ -159,6 +159,7 @@ export * from './GroupMatchingModeEnum';
159
159
  export * from './GroupMember';
160
160
  export * from './GroupMemberRequest';
161
161
  export * from './GroupOAuthSourceConnection';
162
+ export * from './GroupPlexSourceConnection';
162
163
  export * from './GroupRequest';
163
164
  export * from './GroupSAMLSourceConnection';
164
165
  export * from './IdentificationChallenge';
@@ -273,6 +274,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
273
274
  export * from './PaginatedGoogleWorkspaceProviderUserList';
274
275
  export * from './PaginatedGroupList';
275
276
  export * from './PaginatedGroupOAuthSourceConnectionList';
277
+ export * from './PaginatedGroupPlexSourceConnectionList';
276
278
  export * from './PaginatedGroupSAMLSourceConnectionList';
277
279
  export * from './PaginatedIdentificationStageList';
278
280
  export * from './PaginatedInvitationList';
@@ -299,8 +301,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
299
301
  export * from './PaginatedPasswordPolicyList';
300
302
  export * from './PaginatedPasswordStageList';
301
303
  export * from './PaginatedPermissionList';
302
- export * from './PaginatedPlexSourceConnectionList';
303
304
  export * from './PaginatedPlexSourceList';
305
+ export * from './PaginatedPlexSourcePropertyMappingList';
304
306
  export * from './PaginatedPolicyBindingList';
305
307
  export * from './PaginatedPolicyList';
306
308
  export * from './PaginatedPromptList';
@@ -349,6 +351,7 @@ export * from './PaginatedUserList';
349
351
  export * from './PaginatedUserLoginStageList';
350
352
  export * from './PaginatedUserLogoutStageList';
351
353
  export * from './PaginatedUserOAuthSourceConnectionList';
354
+ export * from './PaginatedUserPlexSourceConnectionList';
352
355
  export * from './PaginatedUserSAMLSourceConnectionList';
353
356
  export * from './PaginatedUserSourceConnectionList';
354
357
  export * from './PaginatedUserWriteStageList';
@@ -417,7 +420,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
417
420
  export * from './PatchedPasswordPolicyRequest';
418
421
  export * from './PatchedPasswordStageRequest';
419
422
  export * from './PatchedPermissionAssignRequest';
420
- export * from './PatchedPlexSourceConnectionRequest';
423
+ export * from './PatchedPlexSourcePropertyMappingRequest';
421
424
  export * from './PatchedPlexSourceRequest';
422
425
  export * from './PatchedPolicyBindingRequest';
423
426
  export * from './PatchedPromptRequest';
@@ -451,6 +454,7 @@ export * from './PatchedUserDeleteStageRequest';
451
454
  export * from './PatchedUserLoginStageRequest';
452
455
  export * from './PatchedUserLogoutStageRequest';
453
456
  export * from './PatchedUserOAuthSourceConnectionRequest';
457
+ export * from './PatchedUserPlexSourceConnectionRequest';
454
458
  export * from './PatchedUserRequest';
455
459
  export * from './PatchedUserSAMLSourceConnectionRequest';
456
460
  export * from './PatchedUserWriteStageRequest';
@@ -461,8 +465,8 @@ export * from './PermissionAssignResult';
461
465
  export * from './PlexAuthenticationChallenge';
462
466
  export * from './PlexAuthenticationChallengeResponseRequest';
463
467
  export * from './PlexSource';
464
- export * from './PlexSourceConnection';
465
- export * from './PlexSourceConnectionRequest';
468
+ export * from './PlexSourcePropertyMapping';
469
+ export * from './PlexSourcePropertyMappingRequest';
466
470
  export * from './PlexSourceRequest';
467
471
  export * from './PlexTokenRedeemRequest';
468
472
  export * from './Policy';
@@ -611,6 +615,8 @@ export * from './UserOAuthSourceConnectionRequest';
611
615
  export * from './UserObjectPermission';
612
616
  export * from './UserPasswordSetRequest';
613
617
  export * from './UserPath';
618
+ export * from './UserPlexSourceConnection';
619
+ export * from './UserPlexSourceConnectionRequest';
614
620
  export * from './UserRequest';
615
621
  export * from './UserSAMLSourceConnection';
616
622
  export * from './UserSAMLSourceConnectionRequest';
@@ -161,6 +161,7 @@ export * from './GroupMatchingModeEnum';
161
161
  export * from './GroupMember';
162
162
  export * from './GroupMemberRequest';
163
163
  export * from './GroupOAuthSourceConnection';
164
+ export * from './GroupPlexSourceConnection';
164
165
  export * from './GroupRequest';
165
166
  export * from './GroupSAMLSourceConnection';
166
167
  export * from './IdentificationChallenge';
@@ -275,6 +276,7 @@ export * from './PaginatedGoogleWorkspaceProviderMappingList';
275
276
  export * from './PaginatedGoogleWorkspaceProviderUserList';
276
277
  export * from './PaginatedGroupList';
277
278
  export * from './PaginatedGroupOAuthSourceConnectionList';
279
+ export * from './PaginatedGroupPlexSourceConnectionList';
278
280
  export * from './PaginatedGroupSAMLSourceConnectionList';
279
281
  export * from './PaginatedIdentificationStageList';
280
282
  export * from './PaginatedInvitationList';
@@ -301,8 +303,8 @@ export * from './PaginatedPasswordExpiryPolicyList';
301
303
  export * from './PaginatedPasswordPolicyList';
302
304
  export * from './PaginatedPasswordStageList';
303
305
  export * from './PaginatedPermissionList';
304
- export * from './PaginatedPlexSourceConnectionList';
305
306
  export * from './PaginatedPlexSourceList';
307
+ export * from './PaginatedPlexSourcePropertyMappingList';
306
308
  export * from './PaginatedPolicyBindingList';
307
309
  export * from './PaginatedPolicyList';
308
310
  export * from './PaginatedPromptList';
@@ -351,6 +353,7 @@ export * from './PaginatedUserList';
351
353
  export * from './PaginatedUserLoginStageList';
352
354
  export * from './PaginatedUserLogoutStageList';
353
355
  export * from './PaginatedUserOAuthSourceConnectionList';
356
+ export * from './PaginatedUserPlexSourceConnectionList';
354
357
  export * from './PaginatedUserSAMLSourceConnectionList';
355
358
  export * from './PaginatedUserSourceConnectionList';
356
359
  export * from './PaginatedUserWriteStageList';
@@ -419,7 +422,7 @@ export * from './PatchedPasswordExpiryPolicyRequest';
419
422
  export * from './PatchedPasswordPolicyRequest';
420
423
  export * from './PatchedPasswordStageRequest';
421
424
  export * from './PatchedPermissionAssignRequest';
422
- export * from './PatchedPlexSourceConnectionRequest';
425
+ export * from './PatchedPlexSourcePropertyMappingRequest';
423
426
  export * from './PatchedPlexSourceRequest';
424
427
  export * from './PatchedPolicyBindingRequest';
425
428
  export * from './PatchedPromptRequest';
@@ -453,6 +456,7 @@ export * from './PatchedUserDeleteStageRequest';
453
456
  export * from './PatchedUserLoginStageRequest';
454
457
  export * from './PatchedUserLogoutStageRequest';
455
458
  export * from './PatchedUserOAuthSourceConnectionRequest';
459
+ export * from './PatchedUserPlexSourceConnectionRequest';
456
460
  export * from './PatchedUserRequest';
457
461
  export * from './PatchedUserSAMLSourceConnectionRequest';
458
462
  export * from './PatchedUserWriteStageRequest';
@@ -463,8 +467,8 @@ export * from './PermissionAssignResult';
463
467
  export * from './PlexAuthenticationChallenge';
464
468
  export * from './PlexAuthenticationChallengeResponseRequest';
465
469
  export * from './PlexSource';
466
- export * from './PlexSourceConnection';
467
- export * from './PlexSourceConnectionRequest';
470
+ export * from './PlexSourcePropertyMapping';
471
+ export * from './PlexSourcePropertyMappingRequest';
468
472
  export * from './PlexSourceRequest';
469
473
  export * from './PlexTokenRedeemRequest';
470
474
  export * from './Policy';
@@ -613,6 +617,8 @@ export * from './UserOAuthSourceConnectionRequest';
613
617
  export * from './UserObjectPermission';
614
618
  export * from './UserPasswordSetRequest';
615
619
  export * from './UserPath';
620
+ export * from './UserPlexSourceConnection';
621
+ export * from './UserPlexSourceConnectionRequest';
616
622
  export * from './UserRequest';
617
623
  export * from './UserSAMLSourceConnection';
618
624
  export * from './UserSAMLSourceConnectionRequest';