@goauthentik/api 2024.6.3-1723053526 → 2024.6.3-1723109801

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) 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/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  29. package/dist/esm/models/{PatchedPlexSourceConnectionRequest.js → PatchedUserPlexSourceConnectionRequest.js} +6 -6
  30. package/dist/esm/models/PlexSource.d.ts +7 -0
  31. package/dist/esm/models/PlexSource.js +3 -0
  32. package/dist/esm/models/PlexSourcePropertyMapping.d.ts +73 -0
  33. package/dist/esm/models/PlexSourcePropertyMapping.js +59 -0
  34. package/dist/esm/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  35. package/dist/esm/models/PlexSourcePropertyMappingRequest.js +49 -0
  36. package/dist/esm/models/PlexSourceRequest.d.ts +7 -0
  37. package/dist/esm/models/PlexSourceRequest.js +3 -0
  38. package/dist/esm/models/UserPlexSourceConnection.d.ts +56 -0
  39. package/dist/esm/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +6 -6
  40. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  41. package/dist/esm/models/{PlexSourceConnectionRequest.js → UserPlexSourceConnectionRequest.js} +6 -6
  42. package/dist/esm/models/index.d.ts +10 -4
  43. package/dist/esm/models/index.js +10 -4
  44. package/dist/models/GroupPlexSourceConnection.d.ts +56 -0
  45. package/dist/models/GroupPlexSourceConnection.js +57 -0
  46. package/dist/models/ModelEnum.d.ts +3 -1
  47. package/dist/models/ModelEnum.js +3 -1
  48. package/dist/models/PaginatedGroupPlexSourceConnectionList.d.ts +39 -0
  49. package/dist/models/PaginatedGroupPlexSourceConnectionList.js +55 -0
  50. package/dist/models/PaginatedPlexSourcePropertyMappingList.d.ts +39 -0
  51. package/dist/models/PaginatedPlexSourcePropertyMappingList.js +55 -0
  52. package/dist/models/PaginatedUserPlexSourceConnectionList.d.ts +39 -0
  53. package/dist/models/PaginatedUserPlexSourceConnectionList.js +55 -0
  54. package/dist/models/PatchedPlexSourcePropertyMappingRequest.d.ts +43 -0
  55. package/dist/models/PatchedPlexSourcePropertyMappingRequest.js +54 -0
  56. package/dist/models/PatchedPlexSourceRequest.d.ts +7 -0
  57. package/dist/models/PatchedPlexSourceRequest.js +3 -0
  58. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +37 -0
  59. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +52 -0
  60. package/dist/models/PlexSource.d.ts +7 -0
  61. package/dist/models/PlexSource.js +3 -0
  62. package/dist/models/PlexSourcePropertyMapping.d.ts +73 -0
  63. package/dist/models/PlexSourcePropertyMapping.js +66 -0
  64. package/dist/models/PlexSourcePropertyMappingRequest.d.ts +43 -0
  65. package/dist/models/PlexSourcePropertyMappingRequest.js +56 -0
  66. package/dist/models/PlexSourceRequest.d.ts +7 -0
  67. package/dist/models/PlexSourceRequest.js +3 -0
  68. package/dist/models/UserPlexSourceConnection.d.ts +56 -0
  69. package/dist/models/{PlexSourceConnection.js → UserPlexSourceConnection.js} +11 -11
  70. package/dist/models/UserPlexSourceConnectionRequest.d.ts +37 -0
  71. package/dist/models/UserPlexSourceConnectionRequest.js +53 -0
  72. package/dist/models/index.d.ts +10 -4
  73. package/dist/models/index.js +10 -4
  74. package/package.json +1 -1
  75. package/src/apis/PropertymappingsApi.ts +350 -0
  76. package/src/apis/RbacApi.ts +6 -2
  77. package/src/apis/SourcesApi.ts +368 -37
  78. package/src/models/GroupPlexSourceConnection.ts +104 -0
  79. package/src/models/ModelEnum.ts +3 -1
  80. package/src/models/PaginatedGroupPlexSourceConnectionList.ts +88 -0
  81. package/src/models/{PaginatedPlexSourceConnectionList.ts → PaginatedPlexSourcePropertyMappingList.ts} +19 -19
  82. package/src/models/PaginatedUserPlexSourceConnectionList.ts +88 -0
  83. package/src/models/PatchedPlexSourcePropertyMappingRequest.ts +81 -0
  84. package/src/models/PatchedPlexSourceRequest.ts +14 -0
  85. package/src/models/{PatchedPlexSourceConnectionRequest.ts → PatchedUserPlexSourceConnectionRequest.ts} +10 -10
  86. package/src/models/PlexSource.ts +14 -0
  87. package/src/models/PlexSourcePropertyMapping.ts +123 -0
  88. package/src/models/PlexSourcePropertyMappingRequest.ts +83 -0
  89. package/src/models/PlexSourceRequest.ts +14 -0
  90. package/src/models/{PlexSourceConnection.ts → UserPlexSourceConnection.ts} +13 -13
  91. package/src/models/{PlexSourceConnectionRequest.ts → UserPlexSourceConnectionRequest.ts} +10 -10
  92. package/src/models/index.ts +10 -4
  93. package/dist/esm/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  94. package/dist/esm/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  95. package/dist/esm/models/PlexSourceConnection.d.ts +0 -56
  96. package/dist/esm/models/PlexSourceConnectionRequest.d.ts +0 -37
  97. package/dist/models/PaginatedPlexSourceConnectionList.d.ts +0 -39
  98. package/dist/models/PaginatedPlexSourceConnectionList.js +0 -55
  99. package/dist/models/PatchedPlexSourceConnectionRequest.d.ts +0 -37
  100. package/dist/models/PatchedPlexSourceConnectionRequest.js +0 -52
  101. package/dist/models/PlexSourceConnection.d.ts +0 -56
  102. package/dist/models/PlexSourceConnectionRequest.d.ts +0 -37
  103. package/dist/models/PlexSourceConnectionRequest.js +0 -53
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * authentik
6
+ * Making authentication simple.
7
+ *
8
+ * The version of the OpenAPI document: 2024.6.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.PlexSourcePropertyMappingToJSON = exports.PlexSourcePropertyMappingFromJSONTyped = exports.PlexSourcePropertyMappingFromJSON = exports.instanceOfPlexSourcePropertyMapping = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PlexSourcePropertyMapping interface.
20
+ */
21
+ function instanceOfPlexSourcePropertyMapping(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "pk" in value;
24
+ isInstance = isInstance && "name" in value;
25
+ isInstance = isInstance && "expression" in value;
26
+ isInstance = isInstance && "component" in value;
27
+ isInstance = isInstance && "verboseName" in value;
28
+ isInstance = isInstance && "verboseNamePlural" in value;
29
+ isInstance = isInstance && "metaModelName" in value;
30
+ return isInstance;
31
+ }
32
+ exports.instanceOfPlexSourcePropertyMapping = instanceOfPlexSourcePropertyMapping;
33
+ function PlexSourcePropertyMappingFromJSON(json) {
34
+ return PlexSourcePropertyMappingFromJSONTyped(json, false);
35
+ }
36
+ exports.PlexSourcePropertyMappingFromJSON = PlexSourcePropertyMappingFromJSON;
37
+ function PlexSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'pk': json['pk'],
43
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
44
+ 'name': json['name'],
45
+ 'expression': json['expression'],
46
+ 'component': json['component'],
47
+ 'verboseName': json['verbose_name'],
48
+ 'verboseNamePlural': json['verbose_name_plural'],
49
+ 'metaModelName': json['meta_model_name'],
50
+ };
51
+ }
52
+ exports.PlexSourcePropertyMappingFromJSONTyped = PlexSourcePropertyMappingFromJSONTyped;
53
+ function PlexSourcePropertyMappingToJSON(value) {
54
+ if (value === undefined) {
55
+ return undefined;
56
+ }
57
+ if (value === null) {
58
+ return null;
59
+ }
60
+ return {
61
+ 'managed': value.managed,
62
+ 'name': value.name,
63
+ 'expression': value.expression,
64
+ };
65
+ }
66
+ exports.PlexSourcePropertyMappingToJSON = PlexSourcePropertyMappingToJSON;
@@ -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,56 @@
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.PlexSourcePropertyMappingRequestToJSON = exports.PlexSourcePropertyMappingRequestFromJSONTyped = exports.PlexSourcePropertyMappingRequestFromJSON = exports.instanceOfPlexSourcePropertyMappingRequest = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the PlexSourcePropertyMappingRequest interface.
20
+ */
21
+ function instanceOfPlexSourcePropertyMappingRequest(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "expression" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfPlexSourcePropertyMappingRequest = instanceOfPlexSourcePropertyMappingRequest;
28
+ function PlexSourcePropertyMappingRequestFromJSON(json) {
29
+ return PlexSourcePropertyMappingRequestFromJSONTyped(json, false);
30
+ }
31
+ exports.PlexSourcePropertyMappingRequestFromJSON = PlexSourcePropertyMappingRequestFromJSON;
32
+ function PlexSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
38
+ 'name': json['name'],
39
+ 'expression': json['expression'],
40
+ };
41
+ }
42
+ exports.PlexSourcePropertyMappingRequestFromJSONTyped = PlexSourcePropertyMappingRequestFromJSONTyped;
43
+ function PlexSourcePropertyMappingRequestToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'managed': value.managed,
52
+ 'name': value.name,
53
+ 'expression': value.expression,
54
+ };
55
+ }
56
+ exports.PlexSourcePropertyMappingRequestToJSON = PlexSourcePropertyMappingRequestToJSON;
@@ -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}
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.PlexSourceRequestToJSON = exports.PlexSourceRequestFromJSONTyped = exports.PlexSourceRequestFromJSON = exports.instanceOfPlexSourceRequest = 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
  /**
@@ -47,6 +48,7 @@ function PlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
47
48
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
48
49
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
49
50
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
51
+ 'groupMatchingMode': !(0, runtime_1.exists)(json, 'group_matching_mode') ? undefined : (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumFromJSON)(json['group_matching_mode']),
50
52
  'clientId': !(0, runtime_1.exists)(json, 'client_id') ? undefined : json['client_id'],
51
53
  'allowedServers': !(0, runtime_1.exists)(json, 'allowed_servers') ? undefined : json['allowed_servers'],
52
54
  'allowFriends': !(0, runtime_1.exists)(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -72,6 +74,7 @@ function PlexSourceRequestToJSON(value) {
72
74
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
73
75
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
74
76
  'user_path_template': value.userPathTemplate,
77
+ 'group_matching_mode': (0, GroupMatchingModeEnum_1.GroupMatchingModeEnumToJSON)(value.groupMatchingMode),
75
78
  'client_id': value.clientId,
76
79
  'allowed_servers': value.allowedServers,
77
80
  'allow_friends': value.allowFriends,
@@ -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,12 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PlexSourceConnectionToJSON = exports.PlexSourceConnectionFromJSONTyped = exports.PlexSourceConnectionFromJSON = exports.instanceOfPlexSourceConnection = void 0;
16
+ exports.UserPlexSourceConnectionToJSON = exports.UserPlexSourceConnectionFromJSONTyped = exports.UserPlexSourceConnectionFromJSON = exports.instanceOfUserPlexSourceConnection = void 0;
17
17
  const Source_1 = require("./Source");
18
18
  /**
19
- * Check if a given object implements the PlexSourceConnection interface.
19
+ * Check if a given object implements the UserPlexSourceConnection interface.
20
20
  */
21
- function instanceOfPlexSourceConnection(value) {
21
+ function instanceOfUserPlexSourceConnection(value) {
22
22
  let isInstance = true;
23
23
  isInstance = isInstance && "pk" in value;
24
24
  isInstance = isInstance && "user" in value;
@@ -27,12 +27,12 @@ function instanceOfPlexSourceConnection(value) {
27
27
  isInstance = isInstance && "identifier" in value;
28
28
  return isInstance;
29
29
  }
30
- exports.instanceOfPlexSourceConnection = instanceOfPlexSourceConnection;
31
- function PlexSourceConnectionFromJSON(json) {
32
- return PlexSourceConnectionFromJSONTyped(json, false);
30
+ exports.instanceOfUserPlexSourceConnection = instanceOfUserPlexSourceConnection;
31
+ function UserPlexSourceConnectionFromJSON(json) {
32
+ return UserPlexSourceConnectionFromJSONTyped(json, false);
33
33
  }
34
- exports.PlexSourceConnectionFromJSON = PlexSourceConnectionFromJSON;
35
- function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
34
+ exports.UserPlexSourceConnectionFromJSON = UserPlexSourceConnectionFromJSON;
35
+ function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
36
36
  if ((json === undefined) || (json === null)) {
37
37
  return json;
38
38
  }
@@ -44,8 +44,8 @@ function PlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'identifier': json['identifier'],
45
45
  };
46
46
  }
47
- exports.PlexSourceConnectionFromJSONTyped = PlexSourceConnectionFromJSONTyped;
48
- function PlexSourceConnectionToJSON(value) {
47
+ exports.UserPlexSourceConnectionFromJSONTyped = UserPlexSourceConnectionFromJSONTyped;
48
+ function UserPlexSourceConnectionToJSON(value) {
49
49
  if (value === undefined) {
50
50
  return undefined;
51
51
  }
@@ -56,4 +56,4 @@ function PlexSourceConnectionToJSON(value) {
56
56
  'identifier': value.identifier,
57
57
  };
58
58
  }
59
- exports.PlexSourceConnectionToJSON = PlexSourceConnectionToJSON;
59
+ exports.UserPlexSourceConnectionToJSON = UserPlexSourceConnectionToJSON;
@@ -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;
@@ -0,0 +1,53 @@
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.UserPlexSourceConnectionRequestToJSON = exports.UserPlexSourceConnectionRequestFromJSONTyped = exports.UserPlexSourceConnectionRequestFromJSON = exports.instanceOfUserPlexSourceConnectionRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the UserPlexSourceConnectionRequest interface.
19
+ */
20
+ function instanceOfUserPlexSourceConnectionRequest(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "identifier" in value;
23
+ isInstance = isInstance && "plexToken" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfUserPlexSourceConnectionRequest = instanceOfUserPlexSourceConnectionRequest;
27
+ function UserPlexSourceConnectionRequestFromJSON(json) {
28
+ return UserPlexSourceConnectionRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.UserPlexSourceConnectionRequestFromJSON = UserPlexSourceConnectionRequestFromJSON;
31
+ function UserPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'identifier': json['identifier'],
37
+ 'plexToken': json['plex_token'],
38
+ };
39
+ }
40
+ exports.UserPlexSourceConnectionRequestFromJSONTyped = UserPlexSourceConnectionRequestFromJSONTyped;
41
+ function UserPlexSourceConnectionRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'identifier': value.identifier,
50
+ 'plex_token': value.plexToken,
51
+ };
52
+ }
53
+ exports.UserPlexSourceConnectionRequestToJSON = UserPlexSourceConnectionRequestToJSON;
@@ -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';
@@ -177,6 +177,7 @@ __exportStar(require("./GroupMatchingModeEnum"), exports);
177
177
  __exportStar(require("./GroupMember"), exports);
178
178
  __exportStar(require("./GroupMemberRequest"), exports);
179
179
  __exportStar(require("./GroupOAuthSourceConnection"), exports);
180
+ __exportStar(require("./GroupPlexSourceConnection"), exports);
180
181
  __exportStar(require("./GroupRequest"), exports);
181
182
  __exportStar(require("./GroupSAMLSourceConnection"), exports);
182
183
  __exportStar(require("./IdentificationChallenge"), exports);
@@ -291,6 +292,7 @@ __exportStar(require("./PaginatedGoogleWorkspaceProviderMappingList"), exports);
291
292
  __exportStar(require("./PaginatedGoogleWorkspaceProviderUserList"), exports);
292
293
  __exportStar(require("./PaginatedGroupList"), exports);
293
294
  __exportStar(require("./PaginatedGroupOAuthSourceConnectionList"), exports);
295
+ __exportStar(require("./PaginatedGroupPlexSourceConnectionList"), exports);
294
296
  __exportStar(require("./PaginatedGroupSAMLSourceConnectionList"), exports);
295
297
  __exportStar(require("./PaginatedIdentificationStageList"), exports);
296
298
  __exportStar(require("./PaginatedInvitationList"), exports);
@@ -317,8 +319,8 @@ __exportStar(require("./PaginatedPasswordExpiryPolicyList"), exports);
317
319
  __exportStar(require("./PaginatedPasswordPolicyList"), exports);
318
320
  __exportStar(require("./PaginatedPasswordStageList"), exports);
319
321
  __exportStar(require("./PaginatedPermissionList"), exports);
320
- __exportStar(require("./PaginatedPlexSourceConnectionList"), exports);
321
322
  __exportStar(require("./PaginatedPlexSourceList"), exports);
323
+ __exportStar(require("./PaginatedPlexSourcePropertyMappingList"), exports);
322
324
  __exportStar(require("./PaginatedPolicyBindingList"), exports);
323
325
  __exportStar(require("./PaginatedPolicyList"), exports);
324
326
  __exportStar(require("./PaginatedPromptList"), exports);
@@ -367,6 +369,7 @@ __exportStar(require("./PaginatedUserList"), exports);
367
369
  __exportStar(require("./PaginatedUserLoginStageList"), exports);
368
370
  __exportStar(require("./PaginatedUserLogoutStageList"), exports);
369
371
  __exportStar(require("./PaginatedUserOAuthSourceConnectionList"), exports);
372
+ __exportStar(require("./PaginatedUserPlexSourceConnectionList"), exports);
370
373
  __exportStar(require("./PaginatedUserSAMLSourceConnectionList"), exports);
371
374
  __exportStar(require("./PaginatedUserSourceConnectionList"), exports);
372
375
  __exportStar(require("./PaginatedUserWriteStageList"), exports);
@@ -435,7 +438,7 @@ __exportStar(require("./PatchedPasswordExpiryPolicyRequest"), exports);
435
438
  __exportStar(require("./PatchedPasswordPolicyRequest"), exports);
436
439
  __exportStar(require("./PatchedPasswordStageRequest"), exports);
437
440
  __exportStar(require("./PatchedPermissionAssignRequest"), exports);
438
- __exportStar(require("./PatchedPlexSourceConnectionRequest"), exports);
441
+ __exportStar(require("./PatchedPlexSourcePropertyMappingRequest"), exports);
439
442
  __exportStar(require("./PatchedPlexSourceRequest"), exports);
440
443
  __exportStar(require("./PatchedPolicyBindingRequest"), exports);
441
444
  __exportStar(require("./PatchedPromptRequest"), exports);
@@ -469,6 +472,7 @@ __exportStar(require("./PatchedUserDeleteStageRequest"), exports);
469
472
  __exportStar(require("./PatchedUserLoginStageRequest"), exports);
470
473
  __exportStar(require("./PatchedUserLogoutStageRequest"), exports);
471
474
  __exportStar(require("./PatchedUserOAuthSourceConnectionRequest"), exports);
475
+ __exportStar(require("./PatchedUserPlexSourceConnectionRequest"), exports);
472
476
  __exportStar(require("./PatchedUserRequest"), exports);
473
477
  __exportStar(require("./PatchedUserSAMLSourceConnectionRequest"), exports);
474
478
  __exportStar(require("./PatchedUserWriteStageRequest"), exports);
@@ -479,8 +483,8 @@ __exportStar(require("./PermissionAssignResult"), exports);
479
483
  __exportStar(require("./PlexAuthenticationChallenge"), exports);
480
484
  __exportStar(require("./PlexAuthenticationChallengeResponseRequest"), exports);
481
485
  __exportStar(require("./PlexSource"), exports);
482
- __exportStar(require("./PlexSourceConnection"), exports);
483
- __exportStar(require("./PlexSourceConnectionRequest"), exports);
486
+ __exportStar(require("./PlexSourcePropertyMapping"), exports);
487
+ __exportStar(require("./PlexSourcePropertyMappingRequest"), exports);
484
488
  __exportStar(require("./PlexSourceRequest"), exports);
485
489
  __exportStar(require("./PlexTokenRedeemRequest"), exports);
486
490
  __exportStar(require("./Policy"), exports);
@@ -629,6 +633,8 @@ __exportStar(require("./UserOAuthSourceConnectionRequest"), exports);
629
633
  __exportStar(require("./UserObjectPermission"), exports);
630
634
  __exportStar(require("./UserPasswordSetRequest"), exports);
631
635
  __exportStar(require("./UserPath"), exports);
636
+ __exportStar(require("./UserPlexSourceConnection"), exports);
637
+ __exportStar(require("./UserPlexSourceConnectionRequest"), exports);
632
638
  __exportStar(require("./UserRequest"), exports);
633
639
  __exportStar(require("./UserSAMLSourceConnection"), exports);
634
640
  __exportStar(require("./UserSAMLSourceConnectionRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.6.3-1723053526",
3
+ "version": "2024.6.3-1723109801",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {