@goauthentik/api 2022.6.1-1654375452 → 2022.6.1-1654383423

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/apis/SourcesApi.d.ts +3 -0
  2. package/dist/apis/SourcesApi.js +9 -0
  3. package/dist/esm/apis/SourcesApi.d.ts +3 -0
  4. package/dist/esm/apis/SourcesApi.js +9 -0
  5. package/dist/esm/models/LDAPSource.d.ts +6 -0
  6. package/dist/esm/models/LDAPSource.js +1 -0
  7. package/dist/esm/models/OAuthSource.d.ts +6 -0
  8. package/dist/esm/models/OAuthSource.js +1 -0
  9. package/dist/esm/models/PlexSource.d.ts +6 -0
  10. package/dist/esm/models/PlexSource.js +1 -0
  11. package/dist/esm/models/PlexSourceConnectionSource.d.ts +6 -0
  12. package/dist/esm/models/PlexSourceConnectionSource.js +1 -0
  13. package/dist/esm/models/SAMLSource.d.ts +6 -0
  14. package/dist/esm/models/SAMLSource.js +1 -0
  15. package/dist/esm/models/Source.d.ts +6 -0
  16. package/dist/esm/models/Source.js +1 -0
  17. package/dist/models/LDAPSource.d.ts +6 -0
  18. package/dist/models/LDAPSource.js +1 -0
  19. package/dist/models/OAuthSource.d.ts +6 -0
  20. package/dist/models/OAuthSource.js +1 -0
  21. package/dist/models/PlexSource.d.ts +6 -0
  22. package/dist/models/PlexSource.js +1 -0
  23. package/dist/models/PlexSourceConnectionSource.d.ts +6 -0
  24. package/dist/models/PlexSourceConnectionSource.js +1 -0
  25. package/dist/models/SAMLSource.d.ts +6 -0
  26. package/dist/models/SAMLSource.js +1 -0
  27. package/dist/models/Source.d.ts +6 -0
  28. package/dist/models/Source.js +1 -0
  29. package/package.json +1 -1
  30. package/src/apis/SourcesApi.ts +15 -0
  31. package/src/models/LDAPSource.ts +7 -0
  32. package/src/models/OAuthSource.ts +7 -0
  33. package/src/models/PlexSource.ts +7 -0
  34. package/src/models/PlexSourceConnectionSource.ts +7 -0
  35. package/src/models/SAMLSource.ts +7 -0
  36. package/src/models/Source.ts +7 -0
@@ -15,10 +15,13 @@ export interface SourcesAllDestroyRequest {
15
15
  slug: string;
16
16
  }
17
17
  export interface SourcesAllListRequest {
18
+ managed?: string;
19
+ name?: string;
18
20
  ordering?: string;
19
21
  page?: number;
20
22
  pageSize?: number;
21
23
  search?: string;
24
+ slug?: string;
22
25
  }
23
26
  export interface SourcesAllRetrieveRequest {
24
27
  slug: string;
@@ -65,6 +65,12 @@ class SourcesApi extends runtime.BaseAPI {
65
65
  sourcesAllListRaw(requestParameters, initOverrides) {
66
66
  return __awaiter(this, void 0, void 0, function* () {
67
67
  const queryParameters = {};
68
+ if (requestParameters.managed !== undefined) {
69
+ queryParameters['managed'] = requestParameters.managed;
70
+ }
71
+ if (requestParameters.name !== undefined) {
72
+ queryParameters['name'] = requestParameters.name;
73
+ }
68
74
  if (requestParameters.ordering !== undefined) {
69
75
  queryParameters['ordering'] = requestParameters.ordering;
70
76
  }
@@ -77,6 +83,9 @@ class SourcesApi extends runtime.BaseAPI {
77
83
  if (requestParameters.search !== undefined) {
78
84
  queryParameters['search'] = requestParameters.search;
79
85
  }
86
+ if (requestParameters.slug !== undefined) {
87
+ queryParameters['slug'] = requestParameters.slug;
88
+ }
80
89
  const headerParameters = {};
81
90
  if (this.configuration && this.configuration.apiKey) {
82
91
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
@@ -15,10 +15,13 @@ export interface SourcesAllDestroyRequest {
15
15
  slug: string;
16
16
  }
17
17
  export interface SourcesAllListRequest {
18
+ managed?: string;
19
+ name?: string;
18
20
  ordering?: string;
19
21
  page?: number;
20
22
  pageSize?: number;
21
23
  search?: string;
24
+ slug?: string;
22
25
  }
23
26
  export interface SourcesAllRetrieveRequest {
24
27
  slug: string;
@@ -62,6 +62,12 @@ export class SourcesApi extends runtime.BaseAPI {
62
62
  sourcesAllListRaw(requestParameters, initOverrides) {
63
63
  return __awaiter(this, void 0, void 0, function* () {
64
64
  const queryParameters = {};
65
+ if (requestParameters.managed !== undefined) {
66
+ queryParameters['managed'] = requestParameters.managed;
67
+ }
68
+ if (requestParameters.name !== undefined) {
69
+ queryParameters['name'] = requestParameters.name;
70
+ }
65
71
  if (requestParameters.ordering !== undefined) {
66
72
  queryParameters['ordering'] = requestParameters.ordering;
67
73
  }
@@ -74,6 +80,9 @@ export class SourcesApi extends runtime.BaseAPI {
74
80
  if (requestParameters.search !== undefined) {
75
81
  queryParameters['search'] = requestParameters.search;
76
82
  }
83
+ if (requestParameters.slug !== undefined) {
84
+ queryParameters['slug'] = requestParameters.slug;
85
+ }
77
86
  const headerParameters = {};
78
87
  if (this.configuration && this.configuration.apiKey) {
79
88
  headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
@@ -89,6 +89,12 @@ export interface LDAPSource {
89
89
  * @memberof LDAPSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof LDAPSource
96
+ */
97
+ readonly managed: string | null;
92
98
  /**
93
99
  *
94
100
  * @type {string}
@@ -34,6 +34,7 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'metaModelName': json['meta_model_name'],
35
35
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
36
36
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
37
+ 'managed': json['managed'],
37
38
  'serverUri': json['server_uri'],
38
39
  'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
39
40
  'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
@@ -91,6 +91,12 @@ export interface OAuthSource {
91
91
  * @memberof OAuthSource
92
92
  */
93
93
  userMatchingMode?: UserMatchingModeEnum | null;
94
+ /**
95
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
96
+ * @type {string}
97
+ * @memberof OAuthSource
98
+ */
99
+ readonly managed: string | null;
94
100
  /**
95
101
  *
96
102
  * @type {ProviderTypeEnum}
@@ -36,6 +36,7 @@ export function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'metaModelName': json['meta_model_name'],
37
37
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
38
38
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
39
+ 'managed': json['managed'],
39
40
  'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
40
41
  'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
41
42
  'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
@@ -89,6 +89,12 @@ export interface PlexSource {
89
89
  * @memberof PlexSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof PlexSource
96
+ */
97
+ readonly managed: string | null;
92
98
  /**
93
99
  * Client identifier used to talk to Plex.
94
100
  * @type {string}
@@ -34,6 +34,7 @@ export function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'metaModelName': json['meta_model_name'],
35
35
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
36
36
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
37
+ 'managed': json['managed'],
37
38
  'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
38
39
  'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
39
40
  'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -89,6 +89,12 @@ export interface PlexSourceConnectionSource {
89
89
  * @memberof PlexSourceConnectionSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof PlexSourceConnectionSource
96
+ */
97
+ readonly managed: string | null;
92
98
  }
93
99
  export declare function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource;
94
100
  export declare function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionSource;
@@ -34,6 +34,7 @@ export function PlexSourceConnectionSourceFromJSONTyped(json, ignoreDiscriminato
34
34
  'metaModelName': json['meta_model_name'],
35
35
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
36
36
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
37
+ 'managed': json['managed'],
37
38
  };
38
39
  }
39
40
  export function PlexSourceConnectionSourceToJSON(value) {
@@ -93,6 +93,12 @@ export interface SAMLSource {
93
93
  * @memberof SAMLSource
94
94
  */
95
95
  userMatchingMode?: UserMatchingModeEnum | null;
96
+ /**
97
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
98
+ * @type {string}
99
+ * @memberof SAMLSource
100
+ */
101
+ readonly managed: string | null;
96
102
  /**
97
103
  * Flow used before authentication.
98
104
  * @type {string}
@@ -38,6 +38,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'metaModelName': json['meta_model_name'],
39
39
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
40
40
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
41
+ 'managed': json['managed'],
41
42
  'preAuthenticationFlow': json['pre_authentication_flow'],
42
43
  'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
43
44
  'ssoUrl': json['sso_url'],
@@ -89,6 +89,12 @@ export interface Source {
89
89
  * @memberof Source
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof Source
96
+ */
97
+ readonly managed: string | null;
92
98
  }
93
99
  export declare function SourceFromJSON(json: any): Source;
94
100
  export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
@@ -34,6 +34,7 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'metaModelName': json['meta_model_name'],
35
35
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
36
36
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
37
+ 'managed': json['managed'],
37
38
  };
38
39
  }
39
40
  export function SourceToJSON(value) {
@@ -89,6 +89,12 @@ export interface LDAPSource {
89
89
  * @memberof LDAPSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof LDAPSource
96
+ */
97
+ readonly managed: string | null;
92
98
  /**
93
99
  *
94
100
  * @type {string}
@@ -38,6 +38,7 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'metaModelName': json['meta_model_name'],
39
39
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
40
40
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
41
+ 'managed': json['managed'],
41
42
  'serverUri': json['server_uri'],
42
43
  'peerCertificate': !(0, runtime_1.exists)(json, 'peer_certificate') ? undefined : json['peer_certificate'],
43
44
  'bindCn': !(0, runtime_1.exists)(json, 'bind_cn') ? undefined : json['bind_cn'],
@@ -91,6 +91,12 @@ export interface OAuthSource {
91
91
  * @memberof OAuthSource
92
92
  */
93
93
  userMatchingMode?: UserMatchingModeEnum | null;
94
+ /**
95
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
96
+ * @type {string}
97
+ * @memberof OAuthSource
98
+ */
99
+ readonly managed: string | null;
94
100
  /**
95
101
  *
96
102
  * @type {ProviderTypeEnum}
@@ -40,6 +40,7 @@ function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'metaModelName': json['meta_model_name'],
41
41
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
42
42
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
43
+ 'managed': json['managed'],
43
44
  'providerType': (0, ProviderTypeEnum_1.ProviderTypeEnumFromJSON)(json['provider_type']),
44
45
  'requestTokenUrl': !(0, runtime_1.exists)(json, 'request_token_url') ? undefined : json['request_token_url'],
45
46
  'authorizationUrl': !(0, runtime_1.exists)(json, 'authorization_url') ? undefined : json['authorization_url'],
@@ -89,6 +89,12 @@ export interface PlexSource {
89
89
  * @memberof PlexSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof PlexSource
96
+ */
97
+ readonly managed: string | null;
92
98
  /**
93
99
  * Client identifier used to talk to Plex.
94
100
  * @type {string}
@@ -38,6 +38,7 @@ function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'metaModelName': json['meta_model_name'],
39
39
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
40
40
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
41
+ 'managed': json['managed'],
41
42
  'clientId': !(0, runtime_1.exists)(json, 'client_id') ? undefined : json['client_id'],
42
43
  'allowedServers': !(0, runtime_1.exists)(json, 'allowed_servers') ? undefined : json['allowed_servers'],
43
44
  'allowFriends': !(0, runtime_1.exists)(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -89,6 +89,12 @@ export interface PlexSourceConnectionSource {
89
89
  * @memberof PlexSourceConnectionSource
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof PlexSourceConnectionSource
96
+ */
97
+ readonly managed: string | null;
92
98
  }
93
99
  export declare function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource;
94
100
  export declare function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionSource;
@@ -38,6 +38,7 @@ function PlexSourceConnectionSourceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'metaModelName': json['meta_model_name'],
39
39
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
40
40
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
41
+ 'managed': json['managed'],
41
42
  };
42
43
  }
43
44
  exports.PlexSourceConnectionSourceFromJSONTyped = PlexSourceConnectionSourceFromJSONTyped;
@@ -93,6 +93,12 @@ export interface SAMLSource {
93
93
  * @memberof SAMLSource
94
94
  */
95
95
  userMatchingMode?: UserMatchingModeEnum | null;
96
+ /**
97
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
98
+ * @type {string}
99
+ * @memberof SAMLSource
100
+ */
101
+ readonly managed: string | null;
96
102
  /**
97
103
  * Flow used before authentication.
98
104
  * @type {string}
@@ -42,6 +42,7 @@ function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'metaModelName': json['meta_model_name'],
43
43
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
44
44
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
45
+ 'managed': json['managed'],
45
46
  'preAuthenticationFlow': json['pre_authentication_flow'],
46
47
  'issuer': !(0, runtime_1.exists)(json, 'issuer') ? undefined : json['issuer'],
47
48
  'ssoUrl': json['sso_url'],
@@ -89,6 +89,12 @@ export interface Source {
89
89
  * @memberof Source
90
90
  */
91
91
  userMatchingMode?: UserMatchingModeEnum | null;
92
+ /**
93
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
94
+ * @type {string}
95
+ * @memberof Source
96
+ */
97
+ readonly managed: string | null;
92
98
  }
93
99
  export declare function SourceFromJSON(json: any): Source;
94
100
  export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
@@ -38,6 +38,7 @@ function SourceFromJSONTyped(json, ignoreDiscriminator) {
38
38
  'metaModelName': json['meta_model_name'],
39
39
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
40
40
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
41
+ 'managed': json['managed'],
41
42
  };
42
43
  }
43
44
  exports.SourceFromJSONTyped = SourceFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2022.6.1-1654375452",
3
+ "version": "2022.6.1-1654383423",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -130,10 +130,13 @@ export interface SourcesAllDestroyRequest {
130
130
  }
131
131
 
132
132
  export interface SourcesAllListRequest {
133
+ managed?: string;
134
+ name?: string;
133
135
  ordering?: string;
134
136
  page?: number;
135
137
  pageSize?: number;
136
138
  search?: string;
139
+ slug?: string;
137
140
  }
138
141
 
139
142
  export interface SourcesAllRetrieveRequest {
@@ -502,6 +505,14 @@ export class SourcesApi extends runtime.BaseAPI {
502
505
  async sourcesAllListRaw(requestParameters: SourcesAllListRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<PaginatedSourceList>> {
503
506
  const queryParameters: any = {};
504
507
 
508
+ if (requestParameters.managed !== undefined) {
509
+ queryParameters['managed'] = requestParameters.managed;
510
+ }
511
+
512
+ if (requestParameters.name !== undefined) {
513
+ queryParameters['name'] = requestParameters.name;
514
+ }
515
+
505
516
  if (requestParameters.ordering !== undefined) {
506
517
  queryParameters['ordering'] = requestParameters.ordering;
507
518
  }
@@ -518,6 +529,10 @@ export class SourcesApi extends runtime.BaseAPI {
518
529
  queryParameters['search'] = requestParameters.search;
519
530
  }
520
531
 
532
+ if (requestParameters.slug !== undefined) {
533
+ queryParameters['slug'] = requestParameters.slug;
534
+ }
535
+
521
536
  const headerParameters: runtime.HTTPHeaders = {};
522
537
 
523
538
  if (this.configuration && this.configuration.apiKey) {
@@ -104,6 +104,12 @@ export interface LDAPSource {
104
104
  * @memberof LDAPSource
105
105
  */
106
106
  userMatchingMode?: UserMatchingModeEnum | null;
107
+ /**
108
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
109
+ * @type {string}
110
+ * @memberof LDAPSource
111
+ */
112
+ readonly managed: string | null;
107
113
  /**
108
114
  *
109
115
  * @type {string}
@@ -230,6 +236,7 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
230
236
  'metaModelName': json['meta_model_name'],
231
237
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
232
238
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
239
+ 'managed': json['managed'],
233
240
  'serverUri': json['server_uri'],
234
241
  'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
235
242
  'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
@@ -116,6 +116,12 @@ export interface OAuthSource {
116
116
  * @memberof OAuthSource
117
117
  */
118
118
  userMatchingMode?: UserMatchingModeEnum | null;
119
+ /**
120
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
121
+ * @type {string}
122
+ * @memberof OAuthSource
123
+ */
124
+ readonly managed: string | null;
119
125
  /**
120
126
  *
121
127
  * @type {ProviderTypeEnum}
@@ -212,6 +218,7 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
212
218
  'metaModelName': json['meta_model_name'],
213
219
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
214
220
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
221
+ 'managed': json['managed'],
215
222
  'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
216
223
  'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
217
224
  'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
@@ -104,6 +104,12 @@ export interface PlexSource {
104
104
  * @memberof PlexSource
105
105
  */
106
106
  userMatchingMode?: UserMatchingModeEnum | null;
107
+ /**
108
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
109
+ * @type {string}
110
+ * @memberof PlexSource
111
+ */
112
+ readonly managed: string | null;
107
113
  /**
108
114
  * Client identifier used to talk to Plex.
109
115
  * @type {string}
@@ -152,6 +158,7 @@ export function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
152
158
  'metaModelName': json['meta_model_name'],
153
159
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
154
160
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
161
+ 'managed': json['managed'],
155
162
  'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
156
163
  'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
157
164
  'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
@@ -110,6 +110,12 @@ export interface PlexSourceConnectionSource {
110
110
  * @memberof PlexSourceConnectionSource
111
111
  */
112
112
  userMatchingMode?: UserMatchingModeEnum | null;
113
+ /**
114
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
115
+ * @type {string}
116
+ * @memberof PlexSourceConnectionSource
117
+ */
118
+ readonly managed: string | null;
113
119
  }
114
120
 
115
121
  export function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource {
@@ -134,6 +140,7 @@ export function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscrim
134
140
  'metaModelName': json['meta_model_name'],
135
141
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
136
142
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
143
+ 'managed': json['managed'],
137
144
  };
138
145
  }
139
146
 
@@ -128,6 +128,12 @@ export interface SAMLSource {
128
128
  * @memberof SAMLSource
129
129
  */
130
130
  userMatchingMode?: UserMatchingModeEnum | null;
131
+ /**
132
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
133
+ * @type {string}
134
+ * @memberof SAMLSource
135
+ */
136
+ readonly managed: string | null;
131
137
  /**
132
138
  * Flow used before authentication.
133
139
  * @type {string}
@@ -218,6 +224,7 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
218
224
  'metaModelName': json['meta_model_name'],
219
225
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
220
226
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
227
+ 'managed': json['managed'],
221
228
  'preAuthenticationFlow': json['pre_authentication_flow'],
222
229
  'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
223
230
  'ssoUrl': json['sso_url'],
@@ -104,6 +104,12 @@ export interface Source {
104
104
  * @memberof Source
105
105
  */
106
106
  userMatchingMode?: UserMatchingModeEnum | null;
107
+ /**
108
+ * Objects which are managed by authentik. These objects are created and updated automatically. This is 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.
109
+ * @type {string}
110
+ * @memberof Source
111
+ */
112
+ readonly managed: string | null;
107
113
  }
108
114
 
109
115
  export function SourceFromJSON(json: any): Source {
@@ -128,6 +134,7 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
128
134
  'metaModelName': json['meta_model_name'],
129
135
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
130
136
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
137
+ 'managed': json['managed'],
131
138
  };
132
139
  }
133
140