@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,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 Group-Source connection Serializer
15
+ * @export
16
+ * @interface GroupPlexSourceConnection
17
+ */
18
+ export interface GroupPlexSourceConnection {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof GroupPlexSourceConnection
23
+ */
24
+ readonly pk: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof GroupPlexSourceConnection
29
+ */
30
+ readonly group: string;
31
+ /**
32
+ *
33
+ * @type {Source}
34
+ * @memberof GroupPlexSourceConnection
35
+ */
36
+ readonly source: Source;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof GroupPlexSourceConnection
41
+ */
42
+ readonly identifier: string;
43
+ /**
44
+ *
45
+ * @type {Date}
46
+ * @memberof GroupPlexSourceConnection
47
+ */
48
+ readonly created: Date;
49
+ }
50
+ /**
51
+ * Check if a given object implements the GroupPlexSourceConnection interface.
52
+ */
53
+ export declare function instanceOfGroupPlexSourceConnection(value: object): boolean;
54
+ export declare function GroupPlexSourceConnectionFromJSON(json: any): GroupPlexSourceConnection;
55
+ export declare function GroupPlexSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnection;
56
+ export declare function GroupPlexSourceConnectionToJSON(value?: GroupPlexSourceConnection | 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.GroupPlexSourceConnectionToJSON = exports.GroupPlexSourceConnectionFromJSONTyped = exports.GroupPlexSourceConnectionFromJSON = exports.instanceOfGroupPlexSourceConnection = void 0;
17
+ const Source_1 = require("./Source");
18
+ /**
19
+ * Check if a given object implements the GroupPlexSourceConnection interface.
20
+ */
21
+ function instanceOfGroupPlexSourceConnection(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.instanceOfGroupPlexSourceConnection = instanceOfGroupPlexSourceConnection;
31
+ function GroupPlexSourceConnectionFromJSON(json) {
32
+ return GroupPlexSourceConnectionFromJSONTyped(json, false);
33
+ }
34
+ exports.GroupPlexSourceConnectionFromJSON = GroupPlexSourceConnectionFromJSON;
35
+ function GroupPlexSourceConnectionFromJSONTyped(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.GroupPlexSourceConnectionFromJSONTyped = GroupPlexSourceConnectionFromJSONTyped;
48
+ function GroupPlexSourceConnectionToJSON(value) {
49
+ if (value === undefined) {
50
+ return undefined;
51
+ }
52
+ if (value === null) {
53
+ return null;
54
+ }
55
+ return {};
56
+ }
57
+ exports.GroupPlexSourceConnectionToJSON = GroupPlexSourceConnectionToJSON;
@@ -47,7 +47,9 @@ export declare const ModelEnum: {
47
47
  readonly SourcesOauthUseroauthsourceconnection: "authentik_sources_oauth.useroauthsourceconnection";
48
48
  readonly SourcesOauthGroupoauthsourceconnection: "authentik_sources_oauth.groupoauthsourceconnection";
49
49
  readonly SourcesPlexPlexsource: "authentik_sources_plex.plexsource";
50
- readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
50
+ readonly SourcesPlexPlexsourcepropertymapping: "authentik_sources_plex.plexsourcepropertymapping";
51
+ readonly SourcesPlexUserplexsourceconnection: "authentik_sources_plex.userplexsourceconnection";
52
+ readonly SourcesPlexGroupplexsourceconnection: "authentik_sources_plex.groupplexsourceconnection";
51
53
  readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
52
54
  readonly SourcesSamlSamlsourcepropertymapping: "authentik_sources_saml.samlsourcepropertymapping";
53
55
  readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
@@ -52,7 +52,9 @@ exports.ModelEnum = {
52
52
  SourcesOauthUseroauthsourceconnection: 'authentik_sources_oauth.useroauthsourceconnection',
53
53
  SourcesOauthGroupoauthsourceconnection: 'authentik_sources_oauth.groupoauthsourceconnection',
54
54
  SourcesPlexPlexsource: 'authentik_sources_plex.plexsource',
55
- SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
55
+ SourcesPlexPlexsourcepropertymapping: 'authentik_sources_plex.plexsourcepropertymapping',
56
+ SourcesPlexUserplexsourceconnection: 'authentik_sources_plex.userplexsourceconnection',
57
+ SourcesPlexGroupplexsourceconnection: 'authentik_sources_plex.groupplexsourceconnection',
56
58
  SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
57
59
  SourcesSamlSamlsourcepropertymapping: 'authentik_sources_saml.samlsourcepropertymapping',
58
60
  SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
@@ -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 { GroupPlexSourceConnection } from './GroupPlexSourceConnection';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedGroupPlexSourceConnectionList
18
+ */
19
+ export interface PaginatedGroupPlexSourceConnectionList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedGroupPlexSourceConnectionList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<GroupPlexSourceConnection>}
29
+ * @memberof PaginatedGroupPlexSourceConnectionList
30
+ */
31
+ results: Array<GroupPlexSourceConnection>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedGroupPlexSourceConnectionList interface.
35
+ */
36
+ export declare function instanceOfPaginatedGroupPlexSourceConnectionList(value: object): boolean;
37
+ export declare function PaginatedGroupPlexSourceConnectionListFromJSON(json: any): PaginatedGroupPlexSourceConnectionList;
38
+ export declare function PaginatedGroupPlexSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupPlexSourceConnectionList;
39
+ export declare function PaginatedGroupPlexSourceConnectionListToJSON(value?: PaginatedGroupPlexSourceConnectionList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.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.PaginatedGroupPlexSourceConnectionListToJSON = exports.PaginatedGroupPlexSourceConnectionListFromJSONTyped = exports.PaginatedGroupPlexSourceConnectionListFromJSON = exports.instanceOfPaginatedGroupPlexSourceConnectionList = void 0;
17
+ const GroupPlexSourceConnection_1 = require("./GroupPlexSourceConnection");
18
+ const Pagination_1 = require("./Pagination");
19
+ /**
20
+ * Check if a given object implements the PaginatedGroupPlexSourceConnectionList interface.
21
+ */
22
+ function instanceOfPaginatedGroupPlexSourceConnectionList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedGroupPlexSourceConnectionList = instanceOfPaginatedGroupPlexSourceConnectionList;
29
+ function PaginatedGroupPlexSourceConnectionListFromJSON(json) {
30
+ return PaginatedGroupPlexSourceConnectionListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedGroupPlexSourceConnectionListFromJSON = PaginatedGroupPlexSourceConnectionListFromJSON;
33
+ function PaginatedGroupPlexSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(GroupPlexSourceConnection_1.GroupPlexSourceConnectionFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedGroupPlexSourceConnectionListFromJSONTyped = PaginatedGroupPlexSourceConnectionListFromJSONTyped;
43
+ function PaginatedGroupPlexSourceConnectionListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(GroupPlexSourceConnection_1.GroupPlexSourceConnectionToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedGroupPlexSourceConnectionListToJSON = PaginatedGroupPlexSourceConnectionListToJSON;
@@ -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 { PlexSourcePropertyMapping } from './PlexSourcePropertyMapping';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedPlexSourcePropertyMappingList
18
+ */
19
+ export interface PaginatedPlexSourcePropertyMappingList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedPlexSourcePropertyMappingList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<PlexSourcePropertyMapping>}
29
+ * @memberof PaginatedPlexSourcePropertyMappingList
30
+ */
31
+ results: Array<PlexSourcePropertyMapping>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedPlexSourcePropertyMappingList interface.
35
+ */
36
+ export declare function instanceOfPaginatedPlexSourcePropertyMappingList(value: object): boolean;
37
+ export declare function PaginatedPlexSourcePropertyMappingListFromJSON(json: any): PaginatedPlexSourcePropertyMappingList;
38
+ export declare function PaginatedPlexSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPlexSourcePropertyMappingList;
39
+ export declare function PaginatedPlexSourcePropertyMappingListToJSON(value?: PaginatedPlexSourcePropertyMappingList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.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.PaginatedPlexSourcePropertyMappingListToJSON = exports.PaginatedPlexSourcePropertyMappingListFromJSONTyped = exports.PaginatedPlexSourcePropertyMappingListFromJSON = exports.instanceOfPaginatedPlexSourcePropertyMappingList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const PlexSourcePropertyMapping_1 = require("./PlexSourcePropertyMapping");
19
+ /**
20
+ * Check if a given object implements the PaginatedPlexSourcePropertyMappingList interface.
21
+ */
22
+ function instanceOfPaginatedPlexSourcePropertyMappingList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedPlexSourcePropertyMappingList = instanceOfPaginatedPlexSourcePropertyMappingList;
29
+ function PaginatedPlexSourcePropertyMappingListFromJSON(json) {
30
+ return PaginatedPlexSourcePropertyMappingListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedPlexSourcePropertyMappingListFromJSON = PaginatedPlexSourcePropertyMappingListFromJSON;
33
+ function PaginatedPlexSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(PlexSourcePropertyMapping_1.PlexSourcePropertyMappingFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedPlexSourcePropertyMappingListFromJSONTyped = PaginatedPlexSourcePropertyMappingListFromJSONTyped;
43
+ function PaginatedPlexSourcePropertyMappingListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(PlexSourcePropertyMapping_1.PlexSourcePropertyMappingToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedPlexSourcePropertyMappingListToJSON = PaginatedPlexSourcePropertyMappingListToJSON;
@@ -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 { UserPlexSourceConnection } from './UserPlexSourceConnection';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedUserPlexSourceConnectionList
18
+ */
19
+ export interface PaginatedUserPlexSourceConnectionList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedUserPlexSourceConnectionList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<UserPlexSourceConnection>}
29
+ * @memberof PaginatedUserPlexSourceConnectionList
30
+ */
31
+ results: Array<UserPlexSourceConnection>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedUserPlexSourceConnectionList interface.
35
+ */
36
+ export declare function instanceOfPaginatedUserPlexSourceConnectionList(value: object): boolean;
37
+ export declare function PaginatedUserPlexSourceConnectionListFromJSON(json: any): PaginatedUserPlexSourceConnectionList;
38
+ export declare function PaginatedUserPlexSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserPlexSourceConnectionList;
39
+ export declare function PaginatedUserPlexSourceConnectionListToJSON(value?: PaginatedUserPlexSourceConnectionList | null): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.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.PaginatedUserPlexSourceConnectionListToJSON = exports.PaginatedUserPlexSourceConnectionListFromJSONTyped = exports.PaginatedUserPlexSourceConnectionListFromJSON = exports.instanceOfPaginatedUserPlexSourceConnectionList = void 0;
17
+ const Pagination_1 = require("./Pagination");
18
+ const UserPlexSourceConnection_1 = require("./UserPlexSourceConnection");
19
+ /**
20
+ * Check if a given object implements the PaginatedUserPlexSourceConnectionList interface.
21
+ */
22
+ function instanceOfPaginatedUserPlexSourceConnectionList(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "pagination" in value;
25
+ isInstance = isInstance && "results" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfPaginatedUserPlexSourceConnectionList = instanceOfPaginatedUserPlexSourceConnectionList;
29
+ function PaginatedUserPlexSourceConnectionListFromJSON(json) {
30
+ return PaginatedUserPlexSourceConnectionListFromJSONTyped(json, false);
31
+ }
32
+ exports.PaginatedUserPlexSourceConnectionListFromJSON = PaginatedUserPlexSourceConnectionListFromJSON;
33
+ function PaginatedUserPlexSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
39
+ 'results': (json['results'].map(UserPlexSourceConnection_1.UserPlexSourceConnectionFromJSON)),
40
+ };
41
+ }
42
+ exports.PaginatedUserPlexSourceConnectionListFromJSONTyped = PaginatedUserPlexSourceConnectionListFromJSONTyped;
43
+ function PaginatedUserPlexSourceConnectionListToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
52
+ 'results': (value.results.map(UserPlexSourceConnection_1.UserPlexSourceConnectionToJSON)),
53
+ };
54
+ }
55
+ exports.PaginatedUserPlexSourceConnectionListToJSON = PaginatedUserPlexSourceConnectionListToJSON;
@@ -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 PatchedPlexSourcePropertyMappingRequest
16
+ */
17
+ export interface PatchedPlexSourcePropertyMappingRequest {
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 PatchedPlexSourcePropertyMappingRequest
22
+ */
23
+ managed?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedPlexSourcePropertyMappingRequest
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PatchedPlexSourcePropertyMappingRequest
34
+ */
35
+ expression?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the PatchedPlexSourcePropertyMappingRequest interface.
39
+ */
40
+ export declare function instanceOfPatchedPlexSourcePropertyMappingRequest(value: object): boolean;
41
+ export declare function PatchedPlexSourcePropertyMappingRequestFromJSON(json: any): PatchedPlexSourcePropertyMappingRequest;
42
+ export declare function PatchedPlexSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedPlexSourcePropertyMappingRequest;
43
+ export declare function PatchedPlexSourcePropertyMappingRequestToJSON(value?: PatchedPlexSourcePropertyMappingRequest | null): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.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.PatchedPlexSourcePropertyMappingRequestToJSON = exports.PatchedPlexSourcePropertyMappingRequestFromJSONTyped = exports.PatchedPlexSourcePropertyMappingRequestFromJSON = exports.instanceOfPatchedPlexSourcePropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PatchedPlexSourcePropertyMappingRequest interface.
20
+ */
21
+ function instanceOfPatchedPlexSourcePropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfPatchedPlexSourcePropertyMappingRequest = instanceOfPatchedPlexSourcePropertyMappingRequest;
26
+ function PatchedPlexSourcePropertyMappingRequestFromJSON(json) {
27
+ return PatchedPlexSourcePropertyMappingRequestFromJSONTyped(json, false);
28
+ }
29
+ exports.PatchedPlexSourcePropertyMappingRequestFromJSON = PatchedPlexSourcePropertyMappingRequestFromJSON;
30
+ function PatchedPlexSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
36
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
37
+ 'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
38
+ };
39
+ }
40
+ exports.PatchedPlexSourcePropertyMappingRequestFromJSONTyped = PatchedPlexSourcePropertyMappingRequestFromJSONTyped;
41
+ function PatchedPlexSourcePropertyMappingRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'managed': value.managed,
50
+ 'name': value.name,
51
+ 'expression': value.expression,
52
+ };
53
+ }
54
+ exports.PatchedPlexSourcePropertyMappingRequestToJSON = PatchedPlexSourcePropertyMappingRequestToJSON;
@@ -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 PatchedPlexSourceRequest {
77
78
  * @memberof PatchedPlexSourceRequest
78
79
  */
79
80
  userPathTemplate?: string;
81
+ /**
82
+ *
83
+ * @type {GroupMatchingModeEnum}
84
+ * @memberof PatchedPlexSourceRequest
85
+ */
86
+ groupMatchingMode?: GroupMatchingModeEnum;
80
87
  /**
81
88
  * Client identifier used to talk to Plex.
82
89
  * @type {string}
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PatchedPlexSourceRequestToJSON = exports.PatchedPlexSourceRequestFromJSONTyped = exports.PatchedPlexSourceRequestFromJSON = exports.instanceOfPatchedPlexSourceRequest = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ const GroupMatchingModeEnum_1 = require("./GroupMatchingModeEnum");
18
19
  const PolicyEngineMode_1 = require("./PolicyEngineMode");
19
20
  const UserMatchingModeEnum_1 = require("./UserMatchingModeEnum");
20
21
  /**
@@ -44,6 +45,7 @@ function PatchedPlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
44
45
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
45
46
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
46
47
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
48
+ 'groupMatchingMode': !(0, runtime_1.exists)(json, 'group_matching_mode') ? undefined : (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumFromJSON)(json['group_matching_mode']),
47
49
  'clientId': !(0, runtime_1.exists)(json, 'client_id') ? undefined : json['client_id'],
48
50
  'allowedServers': !(0, runtime_1.exists)(json, 'allowed_servers') ? undefined : json['allowed_servers'],
49
51
  'allowFriends': !(0, runtime_1.exists)(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -69,6 +71,7 @@ function PatchedPlexSourceRequestToJSON(value) {
69
71
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
70
72
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
71
73
  'user_path_template': value.userPathTemplate,
74
+ 'group_matching_mode': (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumToJSON)(value.groupMatchingMode),
72
75
  'client_id': value.clientId,
73
76
  'allowed_servers': value.allowedServers,
74
77
  'allow_friends': value.allowFriends,
@@ -160,6 +160,12 @@ export interface PatchedSAMLSourceRequest {
160
160
  * @memberof PatchedSAMLSourceRequest
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 PatchedSAMLSourceRequest
167
+ */
168
+ encryptionKp?: string | null;
163
169
  }
164
170
  /**
165
171
  * Check if a given object implements the PatchedSAMLSourceRequest interface.
@@ -62,6 +62,7 @@ function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'digestAlgorithm': !(0, runtime_1.exists)(json, 'digest_algorithm') ? undefined : (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumFromJSON)(json['digest_algorithm']),
63
63
  'signatureAlgorithm': !(0, runtime_1.exists)(json, 'signature_algorithm') ? undefined : (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumFromJSON)(json['signature_algorithm']),
64
64
  'temporaryUserDeleteAfter': !(0, runtime_1.exists)(json, 'temporary_user_delete_after') ? undefined : json['temporary_user_delete_after'],
65
+ 'encryptionKp': !(0, runtime_1.exists)(json, 'encryption_kp') ? undefined : json['encryption_kp'],
65
66
  };
66
67
  }
67
68
  exports.PatchedSAMLSourceRequestFromJSONTyped = PatchedSAMLSourceRequestFromJSONTyped;
@@ -96,6 +97,7 @@ function PatchedSAMLSourceRequestToJSON(value) {
96
97
  'digest_algorithm': (0, DigestAlgorithmEnum_1.DigestAlgorithmEnumToJSON)(value.digestAlgorithm),
97
98
  'signature_algorithm': (0, SignatureAlgorithmEnum_1.SignatureAlgorithmEnumToJSON)(value.signatureAlgorithm),
98
99
  'temporary_user_delete_after': value.temporaryUserDeleteAfter,
100
+ 'encryption_kp': value.encryptionKp,
99
101
  };
100
102
  }
101
103
  exports.PatchedSAMLSourceRequestToJSON = PatchedSAMLSourceRequestToJSON;
@@ -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 PatchedUserPlexSourceConnectionRequest
16
+ */
17
+ export interface PatchedUserPlexSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PatchedUserPlexSourceConnectionRequest
22
+ */
23
+ identifier?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PatchedUserPlexSourceConnectionRequest
28
+ */
29
+ plexToken?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PatchedUserPlexSourceConnectionRequest interface.
33
+ */
34
+ export declare function instanceOfPatchedUserPlexSourceConnectionRequest(value: object): boolean;
35
+ export declare function PatchedUserPlexSourceConnectionRequestFromJSON(json: any): PatchedUserPlexSourceConnectionRequest;
36
+ export declare function PatchedUserPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserPlexSourceConnectionRequest;
37
+ export declare function PatchedUserPlexSourceConnectionRequestToJSON(value?: PatchedUserPlexSourceConnectionRequest | null): any;