@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734528783

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/dist/apis/CoreApi.d.ts +86 -1
  3. package/dist/apis/CoreApi.js +271 -0
  4. package/dist/apis/RbacApi.d.ts +2 -0
  5. package/dist/apis/RbacApi.js +2 -0
  6. package/dist/apis/SourcesApi.d.ts +21 -5
  7. package/dist/apis/SourcesApi.js +51 -6
  8. package/dist/esm/apis/CoreApi.d.ts +86 -1
  9. package/dist/esm/apis/CoreApi.js +272 -1
  10. package/dist/esm/apis/RbacApi.d.ts +2 -0
  11. package/dist/esm/apis/RbacApi.js +2 -0
  12. package/dist/esm/apis/SourcesApi.d.ts +21 -5
  13. package/dist/esm/apis/SourcesApi.js +52 -7
  14. package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
  15. package/dist/esm/models/ApplicationEntitlement.js +51 -0
  16. package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
  17. package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
  18. package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
  19. package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
  20. package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
  21. package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
  22. package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
  23. package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
  24. package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
  25. package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
  26. package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
  27. package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
  28. package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
  29. package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
  30. package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
  31. package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
  32. package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
  33. package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
  34. package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
  35. package/dist/esm/models/ModelEnum.d.ts +1 -0
  36. package/dist/esm/models/ModelEnum.js +1 -0
  37. package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  38. package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
  39. package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  40. package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
  41. package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
  42. package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
  43. package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
  44. package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
  45. package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
  46. package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
  47. package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
  48. package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
  49. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
  50. package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
  51. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
  52. package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
  53. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
  54. package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
  55. package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
  56. package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
  57. package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
  58. package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
  59. package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
  60. package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
  61. package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
  62. package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
  63. package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
  64. package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
  65. package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
  66. package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
  67. package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
  68. package/dist/esm/models/UserPlexSourceConnection.js +5 -1
  69. package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
  70. package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
  71. package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
  72. package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
  73. package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
  74. package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
  75. package/dist/esm/models/UserSourceConnection.d.ts +9 -3
  76. package/dist/esm/models/UserSourceConnection.js +7 -2
  77. package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
  78. package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
  79. package/dist/esm/models/index.d.ts +14 -0
  80. package/dist/esm/models/index.js +14 -0
  81. package/dist/models/ApplicationEntitlement.d.ts +49 -0
  82. package/dist/models/ApplicationEntitlement.js +58 -0
  83. package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
  84. package/dist/models/ApplicationEntitlementRequest.js +56 -0
  85. package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
  86. package/dist/models/GroupKerberosSourceConnection.js +8 -2
  87. package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
  88. package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
  89. package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
  90. package/dist/models/GroupOAuthSourceConnection.js +8 -2
  91. package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
  92. package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
  93. package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
  94. package/dist/models/GroupPlexSourceConnection.js +8 -2
  95. package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
  96. package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
  97. package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
  98. package/dist/models/GroupSAMLSourceConnection.js +8 -2
  99. package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
  100. package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
  101. package/dist/models/IdentificationChallenge.d.ts +1 -1
  102. package/dist/models/ModelEnum.d.ts +1 -0
  103. package/dist/models/ModelEnum.js +1 -0
  104. package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
  105. package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
  106. package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
  107. package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
  108. package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
  109. package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
  110. package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
  111. package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
  112. package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
  113. package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
  114. package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
  115. package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
  116. package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
  117. package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
  118. package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
  119. package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
  120. package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
  121. package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
  122. package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
  123. package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
  124. package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
  125. package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
  126. package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
  127. package/dist/models/UserKerberosSourceConnection.js +4 -1
  128. package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
  129. package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
  130. package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
  131. package/dist/models/UserOAuthSourceConnection.js +5 -1
  132. package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
  133. package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
  134. package/dist/models/UserPlexSourceConnection.d.ts +8 -2
  135. package/dist/models/UserPlexSourceConnection.js +5 -1
  136. package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
  137. package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
  138. package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
  139. package/dist/models/UserSAMLSourceConnection.js +5 -1
  140. package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
  141. package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
  142. package/dist/models/UserSourceConnection.d.ts +9 -3
  143. package/dist/models/UserSourceConnection.js +7 -2
  144. package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
  145. package/dist/models/UserSourceConnectionRequest.js +53 -0
  146. package/dist/models/index.d.ts +14 -0
  147. package/dist/models/index.js +14 -0
  148. package/package.json +1 -1
  149. package/src/apis/CoreApi.ts +350 -0
  150. package/src/apis/RbacApi.ts +2 -0
  151. package/src/apis/SourcesApi.ts +118 -6
  152. package/src/models/ApplicationEntitlement.ts +91 -0
  153. package/src/models/ApplicationEntitlementRequest.ts +83 -0
  154. package/src/models/GroupKerberosSourceConnection.ts +15 -4
  155. package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
  156. package/src/models/GroupOAuthSourceConnection.ts +15 -4
  157. package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
  158. package/src/models/GroupPlexSourceConnection.ts +15 -4
  159. package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
  160. package/src/models/GroupSAMLSourceConnection.ts +15 -4
  161. package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
  162. package/src/models/IdentificationChallenge.ts +1 -1
  163. package/src/models/ModelEnum.ts +1 -0
  164. package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
  165. package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
  166. package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
  167. package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
  168. package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
  169. package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
  170. package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
  171. package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
  172. package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
  173. package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
  174. package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
  175. package/src/models/UserKerberosSourceConnection.ts +11 -2
  176. package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
  177. package/src/models/UserOAuthSourceConnection.ts +13 -3
  178. package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
  179. package/src/models/UserPlexSourceConnection.ts +13 -3
  180. package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
  181. package/src/models/UserSAMLSourceConnection.ts +13 -3
  182. package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
  183. package/src/models/UserSourceConnection.ts +14 -4
  184. package/src/models/UserSourceConnectionRequest.ts +75 -0
  185. package/src/models/index.ts +14 -0
@@ -20,6 +20,7 @@ export function instanceOfGroupKerberosSourceConnection(value) {
20
20
  isInstance = isInstance && "pk" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "sourceObj" in value;
23
24
  isInstance = isInstance && "identifier" in value;
24
25
  isInstance = isInstance && "created" in value;
25
26
  return isInstance;
@@ -34,7 +35,8 @@ export function GroupKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimin
34
35
  return {
35
36
  'pk': json['pk'],
36
37
  'group': json['group'],
37
- 'source': SourceFromJSON(json['source']),
38
+ 'source': json['source'],
39
+ 'sourceObj': SourceFromJSON(json['source_obj']),
38
40
  'identifier': json['identifier'],
39
41
  'created': (new Date(json['created'])),
40
42
  };
@@ -46,5 +48,9 @@ export function GroupKerberosSourceConnectionToJSON(value) {
46
48
  if (value === null) {
47
49
  return null;
48
50
  }
49
- return {};
51
+ return {
52
+ 'group': value.group,
53
+ 'source': value.source,
54
+ 'identifier': value.identifier,
55
+ };
50
56
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ * OAuth Group-Source connection Serializer
14
+ * @export
15
+ * @interface GroupKerberosSourceConnectionRequest
16
+ */
17
+ export interface GroupKerberosSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GroupKerberosSourceConnectionRequest
22
+ */
23
+ group: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GroupKerberosSourceConnectionRequest
28
+ */
29
+ source: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GroupKerberosSourceConnectionRequest
34
+ */
35
+ identifier: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
39
+ */
40
+ export declare function instanceOfGroupKerberosSourceConnectionRequest(value: object): boolean;
41
+ export declare function GroupKerberosSourceConnectionRequestFromJSON(json: any): GroupKerberosSourceConnectionRequest;
42
+ export declare function GroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupKerberosSourceConnectionRequest;
43
+ export declare function GroupKerberosSourceConnectionRequestToJSON(value?: GroupKerberosSourceConnectionRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GroupKerberosSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfGroupKerberosSourceConnectionRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "source" in value;
21
+ isInstance = isInstance && "identifier" in value;
22
+ return isInstance;
23
+ }
24
+ export function GroupKerberosSourceConnectionRequestFromJSON(json) {
25
+ return GroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
26
+ }
27
+ export function GroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'group': json['group'],
33
+ 'source': json['source'],
34
+ 'identifier': json['identifier'],
35
+ };
36
+ }
37
+ export function GroupKerberosSourceConnectionRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'group': value.group,
46
+ 'source': value.source,
47
+ 'identifier': value.identifier,
48
+ };
49
+ }
@@ -27,19 +27,25 @@ export interface GroupOAuthSourceConnection {
27
27
  * @type {string}
28
28
  * @memberof GroupOAuthSourceConnection
29
29
  */
30
- readonly group: string;
30
+ group: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GroupOAuthSourceConnection
35
+ */
36
+ source: string;
31
37
  /**
32
38
  *
33
39
  * @type {Source}
34
40
  * @memberof GroupOAuthSourceConnection
35
41
  */
36
- readonly source: Source;
42
+ readonly sourceObj: Source;
37
43
  /**
38
44
  *
39
45
  * @type {string}
40
46
  * @memberof GroupOAuthSourceConnection
41
47
  */
42
- readonly identifier: string;
48
+ identifier: string;
43
49
  /**
44
50
  *
45
51
  * @type {Date}
@@ -20,6 +20,7 @@ export function instanceOfGroupOAuthSourceConnection(value) {
20
20
  isInstance = isInstance && "pk" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "sourceObj" in value;
23
24
  isInstance = isInstance && "identifier" in value;
24
25
  isInstance = isInstance && "created" in value;
25
26
  return isInstance;
@@ -34,7 +35,8 @@ export function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminato
34
35
  return {
35
36
  'pk': json['pk'],
36
37
  'group': json['group'],
37
- 'source': SourceFromJSON(json['source']),
38
+ 'source': json['source'],
39
+ 'sourceObj': SourceFromJSON(json['source_obj']),
38
40
  'identifier': json['identifier'],
39
41
  'created': (new Date(json['created'])),
40
42
  };
@@ -46,5 +48,9 @@ export function GroupOAuthSourceConnectionToJSON(value) {
46
48
  if (value === null) {
47
49
  return null;
48
50
  }
49
- return {};
51
+ return {
52
+ 'group': value.group,
53
+ 'source': value.source,
54
+ 'identifier': value.identifier,
55
+ };
50
56
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ * OAuth Group-Source connection Serializer
14
+ * @export
15
+ * @interface GroupOAuthSourceConnectionRequest
16
+ */
17
+ export interface GroupOAuthSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GroupOAuthSourceConnectionRequest
22
+ */
23
+ group: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GroupOAuthSourceConnectionRequest
28
+ */
29
+ source: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GroupOAuthSourceConnectionRequest
34
+ */
35
+ identifier: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
39
+ */
40
+ export declare function instanceOfGroupOAuthSourceConnectionRequest(value: object): boolean;
41
+ export declare function GroupOAuthSourceConnectionRequestFromJSON(json: any): GroupOAuthSourceConnectionRequest;
42
+ export declare function GroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnectionRequest;
43
+ export declare function GroupOAuthSourceConnectionRequestToJSON(value?: GroupOAuthSourceConnectionRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GroupOAuthSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfGroupOAuthSourceConnectionRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "source" in value;
21
+ isInstance = isInstance && "identifier" in value;
22
+ return isInstance;
23
+ }
24
+ export function GroupOAuthSourceConnectionRequestFromJSON(json) {
25
+ return GroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
26
+ }
27
+ export function GroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'group': json['group'],
33
+ 'source': json['source'],
34
+ 'identifier': json['identifier'],
35
+ };
36
+ }
37
+ export function GroupOAuthSourceConnectionRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'group': value.group,
46
+ 'source': value.source,
47
+ 'identifier': value.identifier,
48
+ };
49
+ }
@@ -27,19 +27,25 @@ export interface GroupPlexSourceConnection {
27
27
  * @type {string}
28
28
  * @memberof GroupPlexSourceConnection
29
29
  */
30
- readonly group: string;
30
+ group: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GroupPlexSourceConnection
35
+ */
36
+ source: string;
31
37
  /**
32
38
  *
33
39
  * @type {Source}
34
40
  * @memberof GroupPlexSourceConnection
35
41
  */
36
- readonly source: Source;
42
+ readonly sourceObj: Source;
37
43
  /**
38
44
  *
39
45
  * @type {string}
40
46
  * @memberof GroupPlexSourceConnection
41
47
  */
42
- readonly identifier: string;
48
+ identifier: string;
43
49
  /**
44
50
  *
45
51
  * @type {Date}
@@ -20,6 +20,7 @@ export function instanceOfGroupPlexSourceConnection(value) {
20
20
  isInstance = isInstance && "pk" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "sourceObj" in value;
23
24
  isInstance = isInstance && "identifier" in value;
24
25
  isInstance = isInstance && "created" in value;
25
26
  return isInstance;
@@ -34,7 +35,8 @@ export function GroupPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator
34
35
  return {
35
36
  'pk': json['pk'],
36
37
  'group': json['group'],
37
- 'source': SourceFromJSON(json['source']),
38
+ 'source': json['source'],
39
+ 'sourceObj': SourceFromJSON(json['source_obj']),
38
40
  'identifier': json['identifier'],
39
41
  'created': (new Date(json['created'])),
40
42
  };
@@ -46,5 +48,9 @@ export function GroupPlexSourceConnectionToJSON(value) {
46
48
  if (value === null) {
47
49
  return null;
48
50
  }
49
- return {};
51
+ return {
52
+ 'group': value.group,
53
+ 'source': value.source,
54
+ 'identifier': value.identifier,
55
+ };
50
56
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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 Group-Source connection Serializer
14
+ * @export
15
+ * @interface GroupPlexSourceConnectionRequest
16
+ */
17
+ export interface GroupPlexSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GroupPlexSourceConnectionRequest
22
+ */
23
+ group: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GroupPlexSourceConnectionRequest
28
+ */
29
+ source: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GroupPlexSourceConnectionRequest
34
+ */
35
+ identifier: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GroupPlexSourceConnectionRequest interface.
39
+ */
40
+ export declare function instanceOfGroupPlexSourceConnectionRequest(value: object): boolean;
41
+ export declare function GroupPlexSourceConnectionRequestFromJSON(json: any): GroupPlexSourceConnectionRequest;
42
+ export declare function GroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupPlexSourceConnectionRequest;
43
+ export declare function GroupPlexSourceConnectionRequestToJSON(value?: GroupPlexSourceConnectionRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GroupPlexSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfGroupPlexSourceConnectionRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "source" in value;
21
+ isInstance = isInstance && "identifier" in value;
22
+ return isInstance;
23
+ }
24
+ export function GroupPlexSourceConnectionRequestFromJSON(json) {
25
+ return GroupPlexSourceConnectionRequestFromJSONTyped(json, false);
26
+ }
27
+ export function GroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'group': json['group'],
33
+ 'source': json['source'],
34
+ 'identifier': json['identifier'],
35
+ };
36
+ }
37
+ export function GroupPlexSourceConnectionRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'group': value.group,
46
+ 'source': value.source,
47
+ 'identifier': value.identifier,
48
+ };
49
+ }
@@ -27,19 +27,25 @@ export interface GroupSAMLSourceConnection {
27
27
  * @type {string}
28
28
  * @memberof GroupSAMLSourceConnection
29
29
  */
30
- readonly group: string;
30
+ group: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GroupSAMLSourceConnection
35
+ */
36
+ source: string;
31
37
  /**
32
38
  *
33
39
  * @type {Source}
34
40
  * @memberof GroupSAMLSourceConnection
35
41
  */
36
- readonly source: Source;
42
+ readonly sourceObj: Source;
37
43
  /**
38
44
  *
39
45
  * @type {string}
40
46
  * @memberof GroupSAMLSourceConnection
41
47
  */
42
- readonly identifier: string;
48
+ identifier: string;
43
49
  /**
44
50
  *
45
51
  * @type {Date}
@@ -20,6 +20,7 @@ export function instanceOfGroupSAMLSourceConnection(value) {
20
20
  isInstance = isInstance && "pk" in value;
21
21
  isInstance = isInstance && "group" in value;
22
22
  isInstance = isInstance && "source" in value;
23
+ isInstance = isInstance && "sourceObj" in value;
23
24
  isInstance = isInstance && "identifier" in value;
24
25
  isInstance = isInstance && "created" in value;
25
26
  return isInstance;
@@ -34,7 +35,8 @@ export function GroupSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator
34
35
  return {
35
36
  'pk': json['pk'],
36
37
  'group': json['group'],
37
- 'source': SourceFromJSON(json['source']),
38
+ 'source': json['source'],
39
+ 'sourceObj': SourceFromJSON(json['source_obj']),
38
40
  'identifier': json['identifier'],
39
41
  'created': (new Date(json['created'])),
40
42
  };
@@ -46,5 +48,9 @@ export function GroupSAMLSourceConnectionToJSON(value) {
46
48
  if (value === null) {
47
49
  return null;
48
50
  }
49
- return {};
51
+ return {
52
+ 'group': value.group,
53
+ 'source': value.source,
54
+ 'identifier': value.identifier,
55
+ };
50
56
  }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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
+ * OAuth Group-Source connection Serializer
14
+ * @export
15
+ * @interface GroupSAMLSourceConnectionRequest
16
+ */
17
+ export interface GroupSAMLSourceConnectionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GroupSAMLSourceConnectionRequest
22
+ */
23
+ group: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GroupSAMLSourceConnectionRequest
28
+ */
29
+ source: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GroupSAMLSourceConnectionRequest
34
+ */
35
+ identifier: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
39
+ */
40
+ export declare function instanceOfGroupSAMLSourceConnectionRequest(value: object): boolean;
41
+ export declare function GroupSAMLSourceConnectionRequestFromJSON(json: any): GroupSAMLSourceConnectionRequest;
42
+ export declare function GroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnectionRequest;
43
+ export declare function GroupSAMLSourceConnectionRequestToJSON(value?: GroupSAMLSourceConnectionRequest | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.10.5
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GroupSAMLSourceConnectionRequest interface.
16
+ */
17
+ export function instanceOfGroupSAMLSourceConnectionRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "group" in value;
20
+ isInstance = isInstance && "source" in value;
21
+ isInstance = isInstance && "identifier" in value;
22
+ return isInstance;
23
+ }
24
+ export function GroupSAMLSourceConnectionRequestFromJSON(json) {
25
+ return GroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
26
+ }
27
+ export function GroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'group': json['group'],
33
+ 'source': json['source'],
34
+ 'identifier': json['identifier'],
35
+ };
36
+ }
37
+ export function GroupSAMLSourceConnectionRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'group': value.group,
46
+ 'source': value.source,
47
+ 'identifier': value.identifier,
48
+ };
49
+ }
@@ -75,7 +75,7 @@ export interface IdentificationChallenge {
75
75
  * @type {CaptchaChallenge}
76
76
  * @memberof IdentificationChallenge
77
77
  */
78
- captchaStage?: CaptchaChallenge;
78
+ captchaStage?: CaptchaChallenge | null;
79
79
  /**
80
80
  *
81
81
  * @type {string}
@@ -93,6 +93,7 @@ export declare const ModelEnum: {
93
93
  readonly CoreGroup: "authentik_core.group";
94
94
  readonly CoreUser: "authentik_core.user";
95
95
  readonly CoreApplication: "authentik_core.application";
96
+ readonly CoreApplicationentitlement: "authentik_core.applicationentitlement";
96
97
  readonly CoreToken: "authentik_core.token";
97
98
  readonly EnterpriseLicense: "authentik_enterprise.license";
98
99
  readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
@@ -95,6 +95,7 @@ export const ModelEnum = {
95
95
  CoreGroup: 'authentik_core.group',
96
96
  CoreUser: 'authentik_core.user',
97
97
  CoreApplication: 'authentik_core.application',
98
+ CoreApplicationentitlement: 'authentik_core.applicationentitlement',
98
99
  CoreToken: 'authentik_core.token',
99
100
  EnterpriseLicense: 'authentik_enterprise.license',
100
101
  ProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
@@ -0,0 +1,39 @@
1
+ /**
2
+ * authentik
3
+ * Making authentication simple.
4
+ *
5
+ * The version of the OpenAPI document: 2024.10.5
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 { ApplicationEntitlement } from './ApplicationEntitlement';
13
+ import type { Pagination } from './Pagination';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedApplicationEntitlementList
18
+ */
19
+ export interface PaginatedApplicationEntitlementList {
20
+ /**
21
+ *
22
+ * @type {Pagination}
23
+ * @memberof PaginatedApplicationEntitlementList
24
+ */
25
+ pagination: Pagination;
26
+ /**
27
+ *
28
+ * @type {Array<ApplicationEntitlement>}
29
+ * @memberof PaginatedApplicationEntitlementList
30
+ */
31
+ results: Array<ApplicationEntitlement>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedApplicationEntitlementList interface.
35
+ */
36
+ export declare function instanceOfPaginatedApplicationEntitlementList(value: object): boolean;
37
+ export declare function PaginatedApplicationEntitlementListFromJSON(json: any): PaginatedApplicationEntitlementList;
38
+ export declare function PaginatedApplicationEntitlementListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedApplicationEntitlementList;
39
+ export declare function PaginatedApplicationEntitlementListToJSON(value?: PaginatedApplicationEntitlementList | null): any;